Enrich Amazon SQS messages using Amazon EventBridge API destinations

Amazon SQS → EventBridge Pipes → API Destination → Amazon CloudWatch

This pattern shows how to use EventBridge Pipes to enrich SQS message data using API destinations and then send response to Pipe target.

This pattern demonstrates how to use Amazon EventBridge Pipes to enrich data using API destinations before sending it to the target. The pattern uses SQS message as a source to EventBridge Pipe, Pipe enriches the data by calling an API destination using input from the SQS message. Pipe extracts data from SQS message and sends it as path parameter(s) to API. Response from API is sent to an EventBridge Pipe target of Amazon CloudWatch logs.

< 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-enrich-with-api-destination

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete.

Created by:

Sachin Doshi

AWS Application Architect