I am going to demonstrate how we can integrate Lambda function with SQS and trigger lambda function using SQS.
Amazon Simple Queue Service (Amazon SQS) is a distributed message queuing service.
It supports programmatic sending of messages via web service applications as a way to communicate over the Internet.
SQS is intended to provide a highly scalable hosted message queue that resolves issues arising from the common producer-consumer problem or connectivity between producer and consumer.
Supports - Standard Queue and FIFO queue
Lambda function: • AWS Lambda function | Copy files from...
EC2 Tutorial: • AWS Cloud EC2 introduction
AWS Complete tutorial - • AWS Cloud EC2 introduction