Skip to content

aws-samples/amazon-documentdb-samples

Amazon DocumentDB (with MongoDB compatibility) samples

This GitHub repository contains code samples that demonstrate how to use Amazon DocumentDB. Each sample includes a README file that explains how to run and use the sample.

Samples

This repository includes samples for -

  • Connect and query - Sample code for connecting to Amazon DocumentDB from Python, PHP, Node.js and Ruby (more coming soon)

  • Change streams - Sample code that shows how to use AWS DocumentDB change streams to stream events to ElasticSearch, Amazon Managed Stream for Kafka (or any other Apache Kafka distro), AWS Kinesis Streams, AWS SQS, and S3 using AWS Lambda

  • Lambda layers - Sample AWS Lambda Layers

  • Lambda samples - Sample AWS Lambda code for Amazon DocumentDB

  • Templates - Sample AWS CloudFormation stacks

  • Vector search - Samples of vector search functionality

Get Involved

See CONTRIBUTING for more information.

Support

The contents of this repository are maintained by Amazon DocumentDB Specialist SAs and are not officially supported by AWS. Please file a Github Issue if you experience any problems.

License

This library is licensed under the MIT-0 License. See the LICENSE file.