Meshing together Amazon EventBridge Custom Buses

Amazon EventBridge → Amazon EventBridge

Mesh EventBuses with EventBridge Rules and Event Patterns for feature isolation, producer/consumer clarity using CDK and TypeScript.

By connecting two or more EventBuses together forming a mesh, the rules associated with the consumers and producers can be more isolated and closer to the features that are producing and consuming those messages. This layer of isolation gives a feature/service the ability to work more autonomously and reduces the risk of rules overlapping or permissions being too liberal.

< 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-mesh

Deploy

make deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

make destroy

Created by:

Benjamen Pyle

Benjamen Pyle

Benjamen Pyle is an AWS Community Builder who loves building scalable and useful applications with Serverless and Event Driven Architectures

Follow on LinkedIn