Amazon EventBridge to AWS AppSync

EventBridge → AWS AppSync

Create an EventBridge event bus that sends events to an AppSync API

In this pattern, AWS AppSync is configured with a a schema to manage and read todos. The pattern uses an event bridge bus and an EventBridge API destination to trigger the AppSync GraphQL updateTodo mutation when an event that matches the defined rule is received. The AppSync API KEY is used as the mode of authorization.

< 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/cdk-eventbridge-appsync

Deploy

cdk deploySee the GitHub repo for detailed instructions


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

To delete the stack, run: cdk destroy.

Created by:

Josh Kahn

Josh Kahn

Principal Solution Architect @ AWS.