AWS Fundamentals Logo
AWS Fundamentals
AWS::AppSync::GraphQLApi

AppSync GraphQLApi

Resource Type definition for AWS::AppSync::GraphQLApi

Properties

18 configurable properties. 2 required. Click a row to see details.

Filter:
PropertyTypeFlags
AuthenticationType
string
Required
Name
string
Required
AdditionalAuthenticationProviders
Array<AdditionalAuthenticationProvider>
ApiType
string
EnhancedMetricsConfig
EnhancedMetricsConfig
EnvironmentVariables
object
IntrospectionConfig
string
LambdaAuthorizerConfig
LambdaAuthorizerConfig
LogConfig
LogConfig
MergedApiExecutionRoleArn
string
OpenIDConnectConfig
OpenIDConnectConfig
OwnerContact
string
QueryDepthLimit
integer
ResolverCountLimit
integer
Tags
Array<Tag>
UserPoolConfig
UserPoolConfig
Visibility
string
XrayEnabled
boolean

Return Values

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

AttributeTypeDescription
ApiIdstringUnique AWS AppSync GraphQL API identifier.
ArnstringThe Amazon Resource Name (ARN) of the API key
GraphQLDnsstringThe fully qualified domain name (FQDN) of the endpoint URL of your GraphQL API.
GraphQLEndpointArnstringThe GraphQL endpoint ARN.
GraphQLUrlstringThe Endpoint URL of your GraphQL API.
RealtimeDnsstringThe fully qualified domain name (FQDN) of the real-time endpoint URL of your GraphQL API.
RealtimeUrlstringThe GraphQL API real-time endpoint URL.

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::GraphQLApi

Resources:
  MyResource:
    Type: AWS::AppSync::GraphQLApi
    Properties:
      Name: "my-name"
      AuthenticationType: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

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

create

appsync:CreateGraphqlApiappsync:TagResource

read

appsync:GetGraphqlApiappsync:GetGraphqlApiEnvironmentVariablesappsync:ListTagsForResource

update

appsync:GetGraphqlApiappsync:UpdateGraphqlApiappsync:TagResourceappsync:UntagResource

delete

appsync:DeleteGraphqlApi

list

appsync:ListGraphqlApis

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
Properties25
Required2
TaggingSupported
Primary IDApiId

Supported Operations

CreateReadUpdateDeleteList

External Links