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>DataSourceReferenceable property: N/A (you must use the
LogicalIdto reference this Amazon CloudFormation resource) AWS::AppSync::FunctionConfiguration-
LogicalId:<graphqlapi-LogicalId><function-RelativeId>Referenceable property: N/A (you must use the
LogicalIdto reference this Amazon CloudFormation resource) AWS::AppSync::GraphQLApi-
LogicalId:<graphqlapi-LogicalId>Referenceable property: N/A (you must use the
LogicalIdto reference this Amazon CloudFormation resource) AWS::AppSync::GraphQLSchema-
LogicalId:<graphqlapi-LogicalId>SchemaReferenceable property: N/A (you must use the
LogicalIdto reference this Amazon CloudFormation resource) AWS::AppSync::Resolver-
LogicalId:<graphqlapi-LogicalId><OperationType><resolver-RelativeId>Referenceable property: N/A (you must use the
LogicalIdto 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>ApiCacheReferenceable property: N/A (you must use the
LogicalIdto reference this Amazon CloudFormation resource) AWS::AppSync::ApiKey-
LogicalId:<graphqlapi-LogicalId><apikey-RelativeId>Referenceable property: N/A (you must use the
LogicalIdto reference this Amazon CloudFormation resource) AWS::AppSync::DomainName-
LogicalId:<graphqlapi-LogicalId>DomainNameReferenceable property: N/A (you must use the
LogicalIdto reference this Amazon CloudFormation resource) AWS::AppSync::DomainNameApiAssociation-
LogicalId:<graphqlapi-LogicalId>DomainNameApiAssociationReferenceable property: N/A (you must use the
LogicalIdto 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.