Skip to the content.

The Lambda should receive the message of the SQS queue, which has been created at the beginning. CDK provides Event Sources to connect the queue with the function.

Notes:

aws lambda list-functions
aws lambda list-event-source-mappings --function-name <function-name>