AWS AppSync to Amazon API Gateway to Amazon DynamoDB

AWS AppSync → Amazon API Gateway → Amazon DynamoDB

Integrating AppSync with API Gateway to read, update and delete from DynamoDB.

This pattern deploys an AWS AppSync GraphQL API which is integrated with an Amazon API Gateway REST API protected with AWS_IAM authentication. The REST API Gateway is directly integrated with Amazon DynamoDB table and has the capability to read/create/update/delete restaurant data.

< 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-apigateway-dynamodb-sam

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Damini Nixcy Mol Antony

Damini Nixcy Mol Antony

Senior Cloud Support Engineer (Serverless) @AWS

Follow on LinkedIn