Amazon API Gateway to Amazon SQS

API Gateway → SQS

Create an Amazon API Gateway HTTP API that integrates with an Amazon SQS queue.

This project contains sample AWS CDK code to create an API Gateway Rest API, as well as, an SQS Queue.
The API Gateway publishes requests to the SQS Queue. In this example, POST request sent to API Gateway will be directed to the SQS queue.

< 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/apigw-sqs-cdk-typescript

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Ryan See

Ryan See

Ryan is a Solutions Architect at AWS.

Follow on LinkedIn