Integrate AWS Lambda, SQS, and SNS — a AWS Serverless sample
Published in
2 min readJul 31, 2019
This blog will show how to Process a request from SNS using AWS lambda and pass it for further processing via SQS. These integration can be typically used for infrastructure automation.
- Let us say you have an event captured in SNS from the monitoring system and now want to take action against it.
- Depending on the type of alert you will have lambda function triggered, which will place the request to specific Queue (SQS)
- Jenkins job subscribed to the particular Queue will consume data and take appropriate action
Problem Statement
For this new setup, a JSON blob (input) is to be published to an SNS topic, processed by a Lambda function, and then the output pushed into an SQS queue.
Input: {“text”: “Hello World”, “amount”: 10}
Expected Output: {“Result”: “ Hello World”}
Please click here to see the full blog with a working sample
👋 Join us today !!
If this post was helpful, please click the clap 👏 button below a few times to show your support! ⬇