Overview
Amazon DocumentDB is AWS's MongoDB-compatible managed document database. The Automize DocumentDB connector covers cluster + instance management, snapshots, and basic CRUD operations.
- Regions: Regional. Clusters span 3 AZs by default for HA.
- Plans: Pay-per-instance-hour + storage. MongoDB 3.6, 4.0, 5.0 compatibility.
Setting up the connection
Auth type: aws_sigv4.
- AWS IAM → user + AmazonDocDBFullAccess.
- Cluster needs master username + password for connection (not just IAM).
- In Automize → Settings → Connectors → AWS DocumentDB. Paste keys + region.
Find your credentials at https://us-east-1.console.aws.amazon.com/iam/home.
Rate limits
Per-region API limits – generous. Cluster query throughput depends on instance size + replication factor.
Data model
MongoDB-compatible:
Cluster ─── Instances (1 primary + N replicas)
├─ Databases ─── Collections ─── Documents
└─ SnapshotsAvailable operations
11 operations available. Click any row to jump to its detail.
| Operation | Category | What it does |
|---|---|---|
| Aggregate | General | Run an aggregation pipeline |
| Count Documents | General | Count documents matching a filter |
| Delete Many | General | Delete all documents matching a filter |
| Delete One | General | Delete a single document matching a filter |
| Find Documents | General | Find documents matching a filter |
| Find One Document | General | Find a single document matching a filter |
| Insert Many | General | Insert multiple documents |
| Insert One | General | Insert a single document |
| List Collections | General | List all collection names in the database |
| Update Many | General | Update all documents matching a filter |
| Update One | General | Update a single document matching a filter |
Operations
Aggregate
Run an aggregation pipeline
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Pipeline pipeline | Yes | textarea |
Count Documents
Count documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea |
Delete Many
Delete all documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea |
Delete One
Delete a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea |
Find Documents
Find documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea | |
Projection projection | No | textarea | |
Limit limit | No | number | |
Sort sort | No | textarea |
Find One Document
Find a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea | |
Projection projection | No | textarea |
Insert Many
Insert multiple documents
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Documents documents | Yes | textarea |
Insert One
Insert a single document
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Document document | Yes | textarea |
List Collections
List all collection names in the database
No input parameters.
Update Many
Update all documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea | |
Update update | Yes | textarea | |
Upsert upsert | No | switch |
Update One
Update a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea | |
Update update | Yes | textarea | |
Upsert upsert | No | switch |
FAQ
- DocumentDB vs MongoDB Atlas?
- DocumentDB: MongoDB-API-compatible but separate codebase, AWS-managed, lower control. Atlas: real MongoDB, multi-cloud, more features. Use DocumentDB if you're all-in on AWS + compatibility is good enough.
- Why isn't aggregation pipeline X working?
- DocumentDB lacks some MongoDB operators ($lookup limitations, some text search). Check AWS compatibility docs.