AWS AppSync to Amazon DynamoDB - Single table design

AWS AppSync → Amazon DynamoDB

Creates an AppSync API with a schema and a resolver to a DynamoDB table following the single table design model

This template creates an AppSync API that uses a DynamoDB resolver.
The `getParentAndChildren` resolver demonstrates using a custom resolver to format results from a single table design for AppSync.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/appsync-dynamodb-singletable-cdk

Deploy

npx aws-cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk delete.

Created by:

Michael Liendo

Michael Liendo

Senior Developer Advocate | AWS AppSync 🦦

Follow on LinkedIn