Amazon SQS to Amazon API Gateway using Amazon EventBridge Pipes with enrichment

Amazon SQS → Amazon EventBridge Pipes → AWS Lambda → Amazon API Gateway → AWS Lambda

Send Amazon SQS messages through an Amazon EventBridge pipe, enrich them with AWS Lambda, and deliver them to Amazon API Gateway through an API destination.

This sample project demonstrates how to use EventBridge pipe to push and modify messages before sending it to DynamoDB.
This pattern is leveraging EventBridge pipe to first integrate 3 services together, simplifying the process by reducing the need for integration code.
Here, SQS is the EventBridge source and Lambda to enrich the data, before pushing to the target API Destination that invokes an API Gateway.

< Back to all patterns

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/eventbridge-pipes-sqs-lambda-api-destination

Deploy

sam deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete

Created by:

Peh Jing Xiang

Peh Jing Xiang

Jing Xiang is a Solutions Architect at AWS based in Singapore

Follow on LinkedIn