This is an example AWS Lambda package for taking an incoming payload from a POST to an endpoint and enqueuing the payload using SQS (Simple Queue Service).
Components:
- AWS API Gateway
- AWS Lambda
- AWS SQS (Simple Queue Service)
- AWS IAM (Identity & Access Management)
Read all about it in this blog post: https://startupnextdoor.com/adding-to-sqs-queue-using-aws-lambda-and-a-serverless-api-endpoint