Amazon CloudFormation resources generated when AWS::Serverless::GraphQLApi is specified - Amazon Serverless Application Model
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Amazon CloudFormation resources generated when AWS::Serverless::GraphQLApi is specified

When you specify an AWS::Serverless::GraphQLApi resource in an Amazon Serverless Application Model (Amazon SAM) template, Amazon SAM always creates the following base Amazon CloudFormation resources.

AWS::AppSync::DataSource

LogicalId: <graphqlapi-LogicalId><datasource-RelativeId><datasource-Type>DataSource

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

AWS::AppSync::FunctionConfiguration

LogicalId: <graphqlapi-LogicalId><function-RelativeId>

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

AWS::AppSync::GraphQLApi

LogicalId: <graphqlapi-LogicalId>

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

AWS::AppSync::GraphQLSchema

LogicalId: <graphqlapi-LogicalId>Schema

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

AWS::AppSync::Resolver

LogicalId: <graphqlapi-LogicalId><OperationType><resolver-RelativeId>

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

In addition to these Amazon CloudFormation resources, when AWS::Serverless::GraphQLApi is specified, Amazon SAM may also generate the following Amazon CloudFormation resources.

AWS::AppSync::ApiCache

LogicalId: <graphqlapi-LogicalId>ApiCache

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

AWS::AppSync::ApiKey

LogicalId: <graphqlapi-LogicalId><apikey-RelativeId>

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

AWS::AppSync::DomainName

LogicalId: <graphqlapi-LogicalId>DomainName

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

AWS::AppSync::DomainNameApiAssociation

LogicalId: <graphqlapi-LogicalId>DomainNameApiAssociation

Referenceable property: N/A (you must use the LogicalId to reference this Amazon CloudFormation resource)

Amazon SAM may also use the AWS::Serverless::Connector resource to provision permissions. For more information, see Amazon CloudFormation resources generated when you specify AWS::Serverless::Connector.