Posted On: Aug 3, 2023

Serverless application developers can now build AppSync powered applications in Serverless Application Model (SAM) with the new GraphQLApi resource, now available in the Amazon Web Services China (Beijing) Region, operated by Sinnet and the Amazon Web Services China (Ningxia) Region, operated by NWCD.

The Amazon SAM GraphQLApi resource simplifies defining an AppSync GraphQL API. With a single resource, everything necessary can be provided for a typical AppSync GraphQL API definition, including the API schema, the resolver pipeline functions, and data sources. SAM CLI support is also included to allow the API schemas, resolvers, and pipeline functions code files automatically packaged and uploaded to S3.

You can use the GraphQLApi resource today in Amazon Web Services China regions.

To get started, please see documentation on using the GraphQLApi resource type in your SAM template.