In summary, we did the following in this recipe:
- Created a Lambda function to perform the following:
- Retrieve messages from an input SNS event
- Batch the messages and send them to an output queue
- Created the required policies and attached them to the role
- Created the Lambda function, specifying the role
- Added data into the topic
- Verified that data was posted to the queue using the aws sqs receive-message command on the output queue