Eventbridge rule to AWS AppSync target

EventBridge → AWS AppSync

Listen to Eventbridge events from an AppSync subscription

This pattern shows how to create an AppSync API that allows you to listen to events going into an Eventbridge event bus.
This pattern is especially useful if you want your frontend users to be aware of changes happening in your backend. Those events coming in your event bus can either be pushed as custom events or can come from AWS services.

< 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/eventbridge-appsync-subscription-sam

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