Checked in new pattern rabbitmq-private-lambda-python-sam#3224
Open
gmedard wants to merge 3 commits into
Open
Conversation
added 3 commits
July 10, 2026 10:14
…amoDB - Add comprehensive README documenting the RabbitMQ consumer pattern setup and deployment workflow - Add RabbitMQAndClientEC2.yaml CloudFormation template to provision Amazon MQ cluster in private subnets with EC2 client instance - Add create_rabbit_queue.sh script to configure RabbitMQ virtualhosts, exchanges, and queues - Add query_rabbit_queue.sh script to verify RabbitMQ queue configuration - Add Lambda consumer function (lambda_function.py) to process RabbitMQ messages and store in DynamoDB - Add SAM template (template_original.yaml) for Lambda function deployment - Add RabbitMQ producer script (rabbitmq_producer.py) to publish JSON messages for testing - Add example-pattern.json with pattern metadata and author information - Add test event (event.json) for local Lambda invocation testing - Add dependencies and configuration files (requirements.txt, commands.sh, us-500.csv sample data) - Provides complete serverless pattern for consuming messages from private RabbitMQ clusters using Python Lambda functions
- Rename template_original.yaml to template.yaml for standard SAM deployment - Update Lambda runtime from PYTHON3_VERSION placeholder to python3.13 - Establish template.yaml as the active configuration for RabbitMQ consumer pattern
…nfiguration - Update build command to use `sam build --use-container` for consistent environment builds - Replace hardcoded Python 3.13 runtime with `PYTHON3_VERSION` variable for better maintainability - Improves cross-platform compatibility and reduces environment-related build issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
Description of changes: - We created a new pattern rabbitmq-private-lambda-java-sam a few months ago. Now checking in the Python equivalent of the pattern rabbitmq-private-lambda-python-sam
When running the CloudFormation template, please remember to change the input parameter ServerlessLandGithubLocation from https://github.com/aws-samples/serverless-patterns.git to https://github.com/gmedard/serverless-patterns.git, else the sample will not work. This is only for testing till the PR is merged. Customers won't have to undertake this step.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.