Reputation: 51
I am sending a message from AWS SQS and want to read the content of the message from a lambda function using boto3.
Can anyone please help and let me know if this is possible?
Upvotes: 2
Views: 6340
Reputation: 269081
You can associate an Amazon SQS queue as a trigger for an AWS Lambda function.
This means that the Lambda function will be automatically invoked by messages sent to the SQS queue.
The content of the SQS message will be passed to the Lambda function via the event
field, together with message metadata.
See: Using AWS Lambda with Amazon SQS
Upvotes: 1