AWS Lambda function subscribed to an Amazon MQ - Apache ActiveMQ in private subnets (Python)

Amazon EC2 → Amazon MQ → AWS Lambda → Amazon DynamoDB → Amazon CloudWatch

Creates a Lambda function that uses a private Amazon MQ (Apache ActiveMQ) as an event source.

This pattern provides a Lambda function along with an Event Source Mapping to an Amazon MQ (Apache ActiveMQ) queue.
The CloudFormation template provided in this pattern installs an Amazon MQ (Apache ActiveMQ) Cluster in private subnets in a VPC.
For detailed deployment instructions instructions see the README.md

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub

Variants

This pattern is available in the following frameworks/languages:

AWS SAM:JavaPython

Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/activemq-private-lambda/python/sam

Deploy

sam deploy --guided


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the template: sam delete.

Created by:

Indranil Banerjee

Indranil Banerjee

AWS - Senior Solutions Architect

Follow on LinkedIn

Arghya Banerjee

Arghya Banerjee

AWS - Senior Solutions Architect

Follow on LinkedIn

Kunal Ghosh

Kunal Ghosh

AWS - Sr SA, Strategic Accounts

Follow on LinkedIn

Angelo Spagnolo

Angelo Spagnolo

AWS - Sr Technical Account Manager

Follow on LinkedIn

Greg Medard

Greg Medard

AWS - Solutions Architect

Follow on LinkedIn