AWS Fundamentals Logo
AWS Fundamentals
AWS::AppSync::SourceApiAssociation

AppSync SourceApiAssociation

Resource Type definition for AWS::AppSync::SourceApiAssociation

Properties

4 configurable properties. Click a row to see details.

Filter:
PropertyTypeFlags
Description
string
MergedApiIdentifier
string
Create-onlyWrite-only
SourceApiAssociationConfig
SourceApiAssociationConfig
SourceApiIdentifier
string
Create-onlyWrite-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AssociationArnstringARN of the SourceApiAssociation.
AssociationIdstringId of the SourceApiAssociation.
LastSuccessfulMergeDatestringDate of last schema successful merge.
MergedApiArnstringARN of the Merged API in the association.
MergedApiIdstringGraphQLApiId of the Merged API in the association.
SourceApiArnstringARN of the source API in the association.
SourceApiAssociationStatusstringCurrent status of SourceApiAssociation.
SourceApiAssociationStatusDetailstringCurrent SourceApiAssociation status details.
SourceApiIdstringGraphQLApiId of the source API in the association.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::AppSync::SourceApiAssociation

Resources:
  MyResource:
    Type: AWS::AppSync::SourceApiAssociation
    Properties:
      Description: !Ref "AWS::StackName"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

appsync:AssociateSourceGraphqlApiappsync:AssociateMergedGraphqlApiappsync:GetSourceApiAssociation

read

appsync:GetSourceApiAssociationappsync:ListSourceApiAssociations

update

appsync:GetSourceApiAssociationappsync:UpdateSourceApiAssociationappsync:GetSourceApiAssociation

delete

appsync:GetSourceApiAssociationappsync:DisassociateSourceGraphqlApiappsync:DisassociateMergedGraphqlApiappsync:ListSourceApiAssociations

list

appsync:ListSourceApiAssociations

Get the AppSync Cheat Sheet

Everything you need to know about AppSync on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceAppSync
Properties13
Required0
TaggingNot supported
Primary IDAssociationArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

SourceApiIdentifierMergedApiIdentifier

External Links