Appsync to Amazon EventBridge using Appsync Datasource

AWS AppSync → Amazon EventBridge

This pattern connects AppSync to EventBridge directly using AppSync Datasource

This sample project demonstrates how to integrate Amazon EventBridge with AWS Appsync.
AWS AppSync can publish events to EventBridge as a datasource. It uses resolver functions for the requests and responses to create the custom events.
This pattern deploys one AWS Appsync API, one custom EventBus, and one AppSync Javascript resolver function.

< 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-eventbridge-datasource

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk delete.

Created by:

Shankar Srinivasan

I am a Cloud Application Architect at AWS. I specialize in architecting and developing serverless, event-driven solutions on AWS.

Follow on LinkedIn