Course lesson

Create an AWS CDK AppSync GraphQL API

There are only a few steps you have to take to create a live GraphQL API with AWS CDK's AppSync package.

Duration
5 min
Access
Included
Transcript
Retained from source evidence

There are only a few steps you have to take to create a live GraphQL API with AWS CDK's AppSync package.

First, define a GraphQL schema. This is where you define the data you want to query and create query and mutation functions.

Then, AppSync is used to create a new GraphQL API, passing in the schema you just created. When you deploy, an API key will be generated. You will need this key to interact with the API.