Skip to content

Conversation

@indranil-banerjee-aws
Copy link
Contributor

Issue #, if available:

Description of changes:

PR to include a new pattern documentdb-lambda-java-sam. This pattern shows how to configure a Java Lambda Function with a DocumentDB streams even listener. A CloudFormation template is provided to install DocumentDB and an EC2 machine that has all the tools needed to deploy the lambda function using SAM. Also provided is a Java program that can create new records in a DocumentDB database/collection that in turn will trigger the DocumentDB Streams messages to be consumed by the Lambda function. The Readme explains the steps in detail

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ellisms
Copy link
Contributor

ellisms commented Nov 19, 2025

Hi @indranil-banerjee-aws - I started testing this pattern and ran into a blocker. The connect_to_mongo_shell.sh is not in the mongoshell directory. I don't see this script anywhere in the home dir. Can you please check?

@indranil-banerjee-aws
Copy link
Contributor Author

Hi @ellisms - Did you replace aws-samples with indranil-banerjee-aws in the Github URL parameter in the CloudFormation template. If you did that already, then can you please send me the /var/log/cloud-init-output.log to ibanerj@amazon.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants