aws-samples / aws-cdk-examples

Example projects using the AWS CDK
Apache License 2.0
4.95k stars 2.1k forks source link

Migrate appsync-graphql-dynamodb typescript example from L1 to L2 constructs #1005

Closed awscamille closed 3 months ago

awscamille commented 3 months ago

As the title says, this PR is revamping the appsync-graphql-dynamodb example (in typescript only for now) to only use L2 constructs for AppSync. We take advantage of the built-in DynamoDB data source/resolvers to simplify the example. We also introduce an external schema.graphql file to store our schema, which we then refer in our GraphQL API construct.

README was update to reflect the changes.

Fixes #700


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.