How to trigger AWS Lambda function(Python) when a message arrives in the SQS, and pass the message to an HTTP Endpoint, after processing the data in the API, delete the message from the SQS queue? How can I achieve this inside the Python lambda?
You can create a SQS trigger on a Lambda function to process the messages off the queue. If the function successfully processes the messages in a batch without any errors, they are deleted from the queue with the right permissions .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.