AWS Lambda integration with SQS

Viewed 822

Does AWS lambda provide support for listening to SQS queue? I found some examples which says one can do that but I am not sure if AWS lambda explicity provide support for that. When I create the lambda function, then I found one blueprint for SQS. So,

4 Answers

Good news, this feature was released yesterday!

28 JUN 2018: AWS Lambda Adds Amazon Simple Queue Service to Supported Event Sources

Read the announcement blog post here: https://aws.amazon.com/blogs/aws/aws-lambda-adds-amazon-simple-queue-service-to-supported-event-sources/

AWS Serverless Model supports a new event source as following:

Type: SQS
 PropertiesProperties:
  QueueQueue: arn:aws:sqs:us-west-2:012345678901:my-queue arn:aws:sqs:us-west-2:0123456789 # NOTE: FIFO SQS Queues are not yet supported
  BatchSize: 10

And this is how it can be configured from the AWS Console UI:

lambda sqs event source

Related