Amazon API Gateway HTTP API to Amazon SQS to AWS Lambda

API Gateway → Amazon SQS → AWS Lambda

This sample project demonstrates how to crate an Amazon API Gateway HTTP API that integrates with an Amazon SQS queue.

This pattern deploys an Amazon API Gateway HTTP API with a SQS queue which acts as a buffer to alleviate traffic spikes which is further integrated to Lambda

< 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/api-sqs-lambda-python

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: sam delete --stack-name STACK_NAME.

Created by:

Aditya Pandita

Aditya Pandita

A Serverless Cloud Engineer and technical writer, dedicated to crafting efficient and scalable solutions using AWS services. My expertise in serverless architecture empowers me to create innovative and cost-effective cloud solutions. I enjoy sharing my knowledge with the serverless community through articles and patterns, helping others explore the vast potential of serverless computing.

Follow on LinkedIn