Amazon SQS to Amazon EventBridge

SQS → Filter messages → EventBridge Pipes → EventBridge Bus

This pattern uses EventBridge pipes to connect SQS to EventBridge.

SQS queue is polled and messages are sent to EventBridge. SQS messages are filtered before reaching EventBridge, and custom events in EventBridge are raised.
How the pattern works
SQS messages are filtered using EventBridge Pipes filter and before sending the events to EventBridge the messages are transformed using input transformers picking out order information for the event
Pipes TargetParams are used to specify the detail and source of the event to raise, in this example we raise `OrderCreated` events on the `myapp.orders` source

< 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-pipes-sqs-to-eventbridge-with-filters

Deploy

sam deploy --guided


Testing

See the README in the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

David Boyne

David Boyne

Helping people learn about event-driven architectures and serverless

Follow on LinkedIn