1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. appsync
  6. SourceApiAssociation

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    Resource Type definition for AWS::AppSync::SourceApiAssociation

    Create SourceApiAssociation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SourceApiAssociation(name: string, args?: SourceApiAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def SourceApiAssociation(resource_name: str,
                             args: Optional[SourceApiAssociationArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def SourceApiAssociation(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             description: Optional[str] = None,
                             merged_api_identifier: Optional[str] = None,
                             source_api_association_config: Optional[SourceApiAssociationConfigArgs] = None,
                             source_api_identifier: Optional[str] = None)
    func NewSourceApiAssociation(ctx *Context, name string, args *SourceApiAssociationArgs, opts ...ResourceOption) (*SourceApiAssociation, error)
    public SourceApiAssociation(string name, SourceApiAssociationArgs? args = null, CustomResourceOptions? opts = null)
    public SourceApiAssociation(String name, SourceApiAssociationArgs args)
    public SourceApiAssociation(String name, SourceApiAssociationArgs args, CustomResourceOptions options)
    
    type: aws-native:appsync:SourceApiAssociation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_appsync_source_api_association" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SourceApiAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SourceApiAssociationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SourceApiAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SourceApiAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SourceApiAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SourceApiAssociation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SourceApiAssociation resource accepts the following input properties:

    Description string
    Description of the SourceApiAssociation.
    MergedApiIdentifier string
    Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    SourceApiAssociationConfig Pulumi.AwsNative.AppSync.Inputs.SourceApiAssociationConfig
    Customized configuration for SourceApiAssociation.
    SourceApiIdentifier string
    Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    Description string
    Description of the SourceApiAssociation.
    MergedApiIdentifier string
    Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    SourceApiAssociationConfig SourceApiAssociationConfigArgs
    Customized configuration for SourceApiAssociation.
    SourceApiIdentifier string
    Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    description string
    Description of the SourceApiAssociation.
    merged_api_identifier string
    Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    source_api_association_config object
    Customized configuration for SourceApiAssociation.
    source_api_identifier string
    Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    description String
    Description of the SourceApiAssociation.
    mergedApiIdentifier String
    Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    sourceApiAssociationConfig SourceApiAssociationConfig
    Customized configuration for SourceApiAssociation.
    sourceApiIdentifier String
    Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    description string
    Description of the SourceApiAssociation.
    mergedApiIdentifier string
    Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    sourceApiAssociationConfig SourceApiAssociationConfig
    Customized configuration for SourceApiAssociation.
    sourceApiIdentifier string
    Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    description str
    Description of the SourceApiAssociation.
    merged_api_identifier str
    Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    source_api_association_config SourceApiAssociationConfigArgs
    Customized configuration for SourceApiAssociation.
    source_api_identifier str
    Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    description String
    Description of the SourceApiAssociation.
    mergedApiIdentifier String
    Identifier of the Merged GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN
    sourceApiAssociationConfig Property Map
    Customized configuration for SourceApiAssociation.
    sourceApiIdentifier String
    Identifier of the Source GraphQLApi to associate. It could be either GraphQLApi ApiId or ARN

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SourceApiAssociation resource produces the following output properties:

    AssociationArn string
    ARN of the SourceApiAssociation.
    AssociationId string
    Id of the SourceApiAssociation.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastSuccessfulMergeDate string
    Date of last schema successful merge.
    MergedApiArn string
    ARN of the Merged API in the association.
    MergedApiId string
    GraphQLApiId of the Merged API in the association.
    SourceApiArn string
    ARN of the source API in the association.
    SourceApiAssociationStatus Pulumi.AwsNative.AppSync.SourceApiAssociationStatus
    Current status of SourceApiAssociation.
    SourceApiAssociationStatusDetail string
    Current SourceApiAssociation status details.
    SourceApiId string
    GraphQLApiId of the source API in the association.
    AssociationArn string
    ARN of the SourceApiAssociation.
    AssociationId string
    Id of the SourceApiAssociation.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastSuccessfulMergeDate string
    Date of last schema successful merge.
    MergedApiArn string
    ARN of the Merged API in the association.
    MergedApiId string
    GraphQLApiId of the Merged API in the association.
    SourceApiArn string
    ARN of the source API in the association.
    SourceApiAssociationStatus SourceApiAssociationStatus
    Current status of SourceApiAssociation.
    SourceApiAssociationStatusDetail string
    Current SourceApiAssociation status details.
    SourceApiId string
    GraphQLApiId of the source API in the association.
    association_arn string
    ARN of the SourceApiAssociation.
    association_id string
    Id of the SourceApiAssociation.
    id string
    The provider-assigned unique ID for this managed resource.
    last_successful_merge_date string
    Date of last schema successful merge.
    merged_api_arn string
    ARN of the Merged API in the association.
    merged_api_id string
    GraphQLApiId of the Merged API in the association.
    source_api_arn string
    ARN of the source API in the association.
    source_api_association_status "MERGE_SCHEDULED" | "MERGE_FAILED" | "MERGE_SUCCESS" | "MERGE_IN_PROGRESS" | "AUTO_MERGE_SCHEDULE_FAILED" | "DELETION_SCHEDULED" | "DELETION_IN_PROGRESS" | "DELETION_FAILED"
    Current status of SourceApiAssociation.
    source_api_association_status_detail string
    Current SourceApiAssociation status details.
    source_api_id string
    GraphQLApiId of the source API in the association.
    associationArn String
    ARN of the SourceApiAssociation.
    associationId String
    Id of the SourceApiAssociation.
    id String
    The provider-assigned unique ID for this managed resource.
    lastSuccessfulMergeDate String
    Date of last schema successful merge.
    mergedApiArn String
    ARN of the Merged API in the association.
    mergedApiId String
    GraphQLApiId of the Merged API in the association.
    sourceApiArn String
    ARN of the source API in the association.
    sourceApiAssociationStatus SourceApiAssociationStatus
    Current status of SourceApiAssociation.
    sourceApiAssociationStatusDetail String
    Current SourceApiAssociation status details.
    sourceApiId String
    GraphQLApiId of the source API in the association.
    associationArn string
    ARN of the SourceApiAssociation.
    associationId string
    Id of the SourceApiAssociation.
    id string
    The provider-assigned unique ID for this managed resource.
    lastSuccessfulMergeDate string
    Date of last schema successful merge.
    mergedApiArn string
    ARN of the Merged API in the association.
    mergedApiId string
    GraphQLApiId of the Merged API in the association.
    sourceApiArn string
    ARN of the source API in the association.
    sourceApiAssociationStatus SourceApiAssociationStatus
    Current status of SourceApiAssociation.
    sourceApiAssociationStatusDetail string
    Current SourceApiAssociation status details.
    sourceApiId string
    GraphQLApiId of the source API in the association.
    association_arn str
    ARN of the SourceApiAssociation.
    association_id str
    Id of the SourceApiAssociation.
    id str
    The provider-assigned unique ID for this managed resource.
    last_successful_merge_date str
    Date of last schema successful merge.
    merged_api_arn str
    ARN of the Merged API in the association.
    merged_api_id str
    GraphQLApiId of the Merged API in the association.
    source_api_arn str
    ARN of the source API in the association.
    source_api_association_status SourceApiAssociationStatus
    Current status of SourceApiAssociation.
    source_api_association_status_detail str
    Current SourceApiAssociation status details.
    source_api_id str
    GraphQLApiId of the source API in the association.
    associationArn String
    ARN of the SourceApiAssociation.
    associationId String
    Id of the SourceApiAssociation.
    id String
    The provider-assigned unique ID for this managed resource.
    lastSuccessfulMergeDate String
    Date of last schema successful merge.
    mergedApiArn String
    ARN of the Merged API in the association.
    mergedApiId String
    GraphQLApiId of the Merged API in the association.
    sourceApiArn String
    ARN of the source API in the association.
    sourceApiAssociationStatus "MERGE_SCHEDULED" | "MERGE_FAILED" | "MERGE_SUCCESS" | "MERGE_IN_PROGRESS" | "AUTO_MERGE_SCHEDULE_FAILED" | "DELETION_SCHEDULED" | "DELETION_IN_PROGRESS" | "DELETION_FAILED"
    Current status of SourceApiAssociation.
    sourceApiAssociationStatusDetail String
    Current SourceApiAssociation status details.
    sourceApiId String
    GraphQLApiId of the source API in the association.

    Supporting Types

    SourceApiAssociationConfig, SourceApiAssociationConfigArgs

    MergeType Pulumi.AwsNative.AppSync.SourceApiAssociationConfigMergeType
    Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.
    MergeType SourceApiAssociationConfigMergeType
    Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.
    merge_type "AUTO_MERGE" | "MANUAL_MERGE"
    Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.
    mergeType SourceApiAssociationConfigMergeType
    Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.
    mergeType SourceApiAssociationConfigMergeType
    Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.
    merge_type SourceApiAssociationConfigMergeType
    Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.
    mergeType "AUTO_MERGE" | "MANUAL_MERGE"
    Configuration of the merged behavior for the association. For example when it could be auto or has to be manual.

    SourceApiAssociationConfigMergeType, SourceApiAssociationConfigMergeTypeArgs

    NameValue
    AutoMergeAUTO_MERGE
    ManualMergeMANUAL_MERGE
    NameValue
    SourceApiAssociationConfigMergeTypeAutoMergeAUTO_MERGE
    SourceApiAssociationConfigMergeTypeManualMergeMANUAL_MERGE
    Value
    AUTO_MERGE
    MANUAL_MERGE
    NameValue
    AutoMergeAUTO_MERGE
    ManualMergeMANUAL_MERGE
    NameValue
    AutoMergeAUTO_MERGE
    ManualMergeMANUAL_MERGE
    NameValue
    AUTO_MERGEAUTO_MERGE
    MANUAL_MERGEMANUAL_MERGE
    Value
    AUTO_MERGE
    MANUAL_MERGE

    SourceApiAssociationStatus, SourceApiAssociationStatusArgs

    NameValue
    MergeScheduledMERGE_SCHEDULED
    MergeFailedMERGE_FAILED
    MergeSuccessMERGE_SUCCESS
    MergeInProgressMERGE_IN_PROGRESS
    AutoMergeScheduleFailedAUTO_MERGE_SCHEDULE_FAILED
    DeletionScheduledDELETION_SCHEDULED
    DeletionInProgressDELETION_IN_PROGRESS
    DeletionFailedDELETION_FAILED
    NameValue
    SourceApiAssociationStatusMergeScheduledMERGE_SCHEDULED
    SourceApiAssociationStatusMergeFailedMERGE_FAILED
    SourceApiAssociationStatusMergeSuccessMERGE_SUCCESS
    SourceApiAssociationStatusMergeInProgressMERGE_IN_PROGRESS
    SourceApiAssociationStatusAutoMergeScheduleFailedAUTO_MERGE_SCHEDULE_FAILED
    SourceApiAssociationStatusDeletionScheduledDELETION_SCHEDULED
    SourceApiAssociationStatusDeletionInProgressDELETION_IN_PROGRESS
    SourceApiAssociationStatusDeletionFailedDELETION_FAILED
    Value
    MERGE_SCHEDULED
    MERGE_FAILED
    MERGE_SUCCESS
    MERGE_IN_PROGRESS
    AUTO_MERGE_SCHEDULE_FAILED
    DELETION_SCHEDULED
    DELETION_IN_PROGRESS
    DELETION_FAILED
    NameValue
    MergeScheduledMERGE_SCHEDULED
    MergeFailedMERGE_FAILED
    MergeSuccessMERGE_SUCCESS
    MergeInProgressMERGE_IN_PROGRESS
    AutoMergeScheduleFailedAUTO_MERGE_SCHEDULE_FAILED
    DeletionScheduledDELETION_SCHEDULED
    DeletionInProgressDELETION_IN_PROGRESS
    DeletionFailedDELETION_FAILED
    NameValue
    MergeScheduledMERGE_SCHEDULED
    MergeFailedMERGE_FAILED
    MergeSuccessMERGE_SUCCESS
    MergeInProgressMERGE_IN_PROGRESS
    AutoMergeScheduleFailedAUTO_MERGE_SCHEDULE_FAILED
    DeletionScheduledDELETION_SCHEDULED
    DeletionInProgressDELETION_IN_PROGRESS
    DeletionFailedDELETION_FAILED
    NameValue
    MERGE_SCHEDULEDMERGE_SCHEDULED
    MERGE_FAILEDMERGE_FAILED
    MERGE_SUCCESSMERGE_SUCCESS
    MERGE_IN_PROGRESSMERGE_IN_PROGRESS
    AUTO_MERGE_SCHEDULE_FAILEDAUTO_MERGE_SCHEDULE_FAILED
    DELETION_SCHEDULEDDELETION_SCHEDULED
    DELETION_IN_PROGRESSDELETION_IN_PROGRESS
    DELETION_FAILEDDELETION_FAILED
    Value
    MERGE_SCHEDULED
    MERGE_FAILED
    MERGE_SUCCESS
    MERGE_IN_PROGRESS
    AUTO_MERGE_SCHEDULE_FAILED
    DELETION_SCHEDULED
    DELETION_IN_PROGRESS
    DELETION_FAILED

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial