

There are more AWS SDK examples available in the [AWS Doc SDK Examples](https://github.com/awsdocs/aws-doc-sdk-examples) GitHub repo.

# Code examples for Amazon DocumentDB using AWS SDKs
<a name="docdb_code_examples"></a>

The following code examples show you how to use Amazon DocumentDB (with MongoDB compatibility) with an AWS software development kit (SDK).

*Scenarios* are code examples that show you how to accomplish specific tasks by calling multiple functions within a service or combined with other AWS services.

**More resources**
+  **[ Amazon DocumentDB Developer Guide](https://docs.aws.amazon.com/documentdb/latest/developerguide/what-is.html)** – More information about Amazon DocumentDB.
+ **[Amazon DocumentDB API Reference](https://docs.aws.amazon.com/documentdb/latest/developerguide/api-reference.html)** – Details about all available Amazon DocumentDB actions.
+ **[AWS Developer Center](https://aws.amazon.com/developer/code-examples/?awsf.sdk-code-examples-product=product%23)** – Code examples that you can filter by category or full-text search.
+ **[AWS SDK Examples](https://github.com/awsdocs/aws-doc-sdk-examples)** – GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.

**Contents**
+ [Scenarios](docdb_code_examples_scenarios.md)
  + [Getting started with Amazon DocumentDB](docdb_example_docdb_GettingStarted_025_section.md)
+ [Serverless examples](docdb_code_examples_serverless_examples.md)
  + [Invoke a Lambda function from a Amazon DocumentDB trigger](docdb_example_serverless_DocumentDB_Lambda_section.md)