AWS AppSync to Amazon DynamoDB using JS resolvers

AWS AppSync → Amazon DynamoDB

Use AWS AppSync JS resolvers to query an Amazon DynamoDB table using single table design.

This sample project creates an AppSync API with a schema and a JavaScript pipeline resolver to query a DynamoDB table following a single table design model.
Using JS pipeline resolvers can help you easily transform your query to retrieve nested records in your DynamoDB table in a single API call.

< 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-js-resolver

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Alexis Philippart de Foy

Alexis Philippart de Foy

I am a Startup Solutions Architect, Serverless Enthusiast and former startup founder.

Follow on LinkedIn