# Evidence ledger — Amazon DocumentDB

Every material claim in this skill's references cites one row below as `[DOCDB-Exx]`.
`tests/validate-skill-references.py` fails the build if a citation has no row, a row is
never cited, or a source is not an allow-listed provider documentation host.

`VERIFIED` = the section was retrieved on the retrieval date and supports the claim as
worded; it is documentation verification, not a behavioural test.

| ID | Claim | Source | Section | Retrieved | Status |
| --- | --- | --- | --- | --- | --- |
| DOCDB-E01 | Instance-based clusters are continuously backed up to service-managed Amazon S3 buckets for 1 to 35 days; the backup files are not accessible to you; a manual snapshot retains data beyond the retention period; the backup process does not impact cluster performance. | https://docs.aws.amazon.com/documentdb/latest/developerguide/backup_restore.html | Backing up and restoring in Amazon DocumentDB: "continuously backs up your data to Amazon Simple Storage Service (Amazon S3) for 1–35 days so that you can quickly restore to any point within the backup retention period" | 2026-11-08 | VERIFIED |
| DOCDB-E02 | Automatic snapshots: retention 1 to 35 days, default 1 day, cannot be disabled, cannot be manually deleted, deleted with the cluster, not shareable (copy then share). Manual snapshots: on demand, full, kept until explicitly deleted (survive cluster deletion), maximum 100 per Region, shareable. | https://docs.aws.amazon.com/documentdb/latest/developerguide/backup_restore-compare_automatic_manual_snapshots.html | Comparing automatic and manual snapshots: "You can't disable automatic backups on Amazon DocumentDB clusters." | 2026-11-08 | VERIFIED |
| DOCDB-E03 | Restoring from a snapshot always creates a new cluster, never an existing one; an encrypted snapshot cannot be restored to an unencrypted cluster; a 3.6 cluster cannot be restored to 4.0. | https://docs.aws.amazon.com/documentdb/latest/developerguide/backup_restore-restore_from_snapshot.html | Restoring from a cluster snapshot: "You can't restore from a snapshot to an existing cluster because a new cluster is created when you restore." | 2026-11-08 | VERIFIED |
| DOCDB-E04 | Point-in-time restore targets any time within the retention period and creates a new cluster with the source configuration but the default parameter group; instances are added separately when using the AWS CLI. | https://docs.aws.amazon.com/documentdb/latest/developerguide/backup_restore-point_in_time_recovery.html | Restoring to a point in time: "The new cluster is created with the same configuration as the source cluster, except that the new cluster is created with the default parameter group." | 2026-11-08 | VERIFIED |
| DOCDB-E05 | Backup storage consists of continuous backups plus manual snapshots outside the retention period; CloudWatch metrics TotalBackupStorageBilled, SnapshotStorageUsed and BackupRetentionPeriodStorageUsed track it; free backup storage equals one day of cluster volume size; automatic snapshots and manual snapshots inside the retention period do not count. | https://docs.aws.amazon.com/documentdb/latest/developerguide/backup_restore-understanding_backup_storage_usage.html | Understanding backup storage usage: "Amazon DocumentDB backup storage consists of continuous backups within the backup retention period and manual snapshots outside the retention period." | 2026-11-08 | VERIFIED |
| DOCDB-E06 | A global cluster has one primary Region and up to 10 read-only secondary Regions with asynchronous replication on dedicated infrastructure (typically under a second); not supported on v3.6, db.t3, db.t4g or db.r4; unavailable in four listed Regions; secondary cluster cannot be stopped. | https://docs.aws.amazon.com/documentdb/latest/developerguide/global-clusters.html | Overview of Amazon DocumentDB global clusters: "Global clusters are supported on all instance types except db.t3, db.t4g, and db.r4." | 2026-11-08 | VERIFIED |
| DOCDB-E07 | Global clusters page states promotion of a secondary within minutes, typical RTO under a minute and RPO typically in seconds depending on lag. | https://docs.aws.amazon.com/documentdb/latest/developerguide/global-clusters.html | Overview of Amazon DocumentDB global clusters: "you can promote one of the secondary clusters to a primary cluster within minutes, with a typical Recovery Time Objective (RTO) of under a minute." | 2026-11-08 | VERIFIED |
| DOCDB-E08 | Two official pages word the global cluster RTO differently: the global clusters overview says typical RTO of under a minute; the disaster recovery page says For a global cluster, RTO in minutes. Treat RTO as minutes-order and unguaranteed. | https://docs.aws.amazon.com/documentdb/latest/developerguide/global-clusters-disaster-recovery.html | Disaster recovery and Amazon DocumentDB global clusters: "In other words, RTO measures downtime. For a global cluster, RTO in minutes." | 2026-11-08 | CONFLICT |
| DOCDB-E09 | Within a cluster, failover promotes a replica (failover tier 0 to 15) and typically completes within 30 seconds; needs at least two instances; with no replica Amazon DocumentDB tries to create a new instance on a best-effort basis; the page applies only to instance-based clusters, not elastic or global clusters. | https://docs.aws.amazon.com/documentdb/latest/developerguide/failover.html | Amazon DocumentDB failover: "Failover typically completes within 30 seconds from start to finish." | 2026-11-08 | VERIFIED |
| DOCDB-E10 | A cluster has one primary and up to 15 replicas spread across Availability Zones in the subnet group (at least two); replicas are eventually consistent with lag usually much less than 100 milliseconds. | https://docs.aws.amazon.com/documentdb/latest/developerguide/replication.html | Amazon DocumentDB high availability and replication: "A single Amazon DocumentDB cluster supports a single primary instance and up to 15 replica instances." | 2026-11-08 | VERIFIED |
| DOCDB-E11 | Managed global failover needs identical engine versions in all Regions; secondary Regions are replicated asynchronously so unreplicated data may be missing on the new primary; the GlobalClusterReplicationLag metric shows lag; manual failover and switchover are separate procedures; parameter groups and alarms are not inherited by the promoted cluster. | https://docs.aws.amazon.com/documentdb/latest/developerguide/global-clusters-disaster-recovery.html | Disaster recovery and Amazon DocumentDB global clusters: "Data that wasn't replicated from the old primary to the chosen secondary cluster may be missing when this secondary becomes the new primary." | 2026-11-08 | VERIFIED |
| DOCDB-E12 | Pricing page billing dimensions: on-demand instance hours, database storage, I/O (standard or I/O-Optimized configuration), backup storage beyond free allotment, serverless DocumentDB Capacity Units, replicated write I/O for global clusters, plus cross-AZ and other AWS data transfer. No prices recorded here. | https://aws.amazon.com/documentdb/pricing/ | Amazon DocumentDB pricing: "Other AWS-wide costs such as data transfer between applications and Amazon DocumentDB across Availability Zones (AZs) may also apply." | 2026-11-08 | VERIFIED |
| DOCDB-E13 | Metrics are published to CloudWatch under namespace AWS/DocDB and apply to instance-based and elastic clusters; named metrics include CPUUtilization, FreeableMemory, DatabaseConnections, DatabaseCursorsTimedOut, VolumeBytesUsed, DBInstanceReplicaLag, DBClusterReplicaLagMaximum, TotalBackupStorageBilled and LowMemNumOperationsThrottled; CloudWatch alarms can notify on threshold breach. | https://docs.aws.amazon.com/documentdb/latest/developerguide/cloud_watch.html | Monitoring Amazon DocumentDB with CloudWatch: "Required. The service namespace for which you want CloudWatch metrics. For Amazon DocumentDB, this must be AWS/DocDB." | 2026-11-08 | VERIFIED |
| DOCDB-E14 | Best practices recommend monitoring memory, CPU, connections and storage with CloudWatch notifications as usage approaches capacity. | https://docs.aws.amazon.com/documentdb/latest/developerguide/best_practices.html | Amazon DocumentDB best practices: "Monitor your memory, CPU, connections, and storage usage." | 2026-11-08 | VERIFIED |
| DOCDB-E15 | Metrics LowMemNumOperationsThrottled, LowMemThrottleQueueDepth and LowMemThrottleMaxQueueDepth report requests throttled because of low available memory. | https://docs.aws.amazon.com/documentdb/latest/developerguide/cloud_watch.html | Monitoring Amazon DocumentDB with CloudWatch: "The number of requests that are throttled due to low available memory in a 1-minute period." | 2026-11-08 | VERIFIED |
| DOCDB-E16 | The quotas page tabulates per-instance-type connection, cursor and open transaction quotas and cluster quotas such as 15 read replicas and 100 manual snapshots per Region. | https://docs.aws.amazon.com/documentdb/latest/developerguide/limits.html | Amazon DocumentDB quotas: "This topic describes the resource quotas and naming constraints for Amazon DocumentDB (with MongoDB compatibility)." | 2026-11-08 | VERIFIED |
| DOCDB-E17 | Resource-based policies are not supported; ABAC (tags in policies) is supported only partially for instance-based clusters but fully for elastic clusters. | https://docs.aws.amazon.com/documentdb/latest/developerguide/security_iam_service-with-iam.html | How Amazon DocumentDB works with IAM: "ABAC is only partially supported for instance-based clusters but is supported for elastic clusters." | 2026-11-08 | VERIFIED |
| DOCDB-E18 | AWS managed policies include AmazonDocDBFullAccess, AmazonDocDBReadOnlyAccess, AmazonDocDBConsoleFullAccess, AmazonDocDBElasticReadOnlyAccess and AmazonDocDBElasticFullAccess. | https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-managed-policies.html | AWS managed policies for Amazon DocumentDB: "Grants read-only access to all Amazon DocumentDB resources for the root AWS account." | 2026-11-08 | VERIFIED |
| DOCDB-E19 | Control-plane actions use rds: IAM actions shared with Amazon RDS, and only partial resource-level permissions are supported. | https://docs.aws.amazon.com/documentdb/latest/developerguide/UsingWithRDS.IAM.ResourcePermissions.html | Amazon DocumentDB API permissions: actions, resources, and conditions reference: "Amazon DocumentDB has partial support for resource-level permissions." | 2026-11-08 | VERIFIED |
| DOCDB-E20 | Data-plane access uses database users with role-based access control and built-in roles such as read and readWrite; users created before March 26, 2020 were granted broad roles and should be reviewed. | https://docs.aws.amazon.com/documentdb/latest/developerguide/role_based_access_control.html | Database access using Role-Based Access Control: "You can restrict access to the actions that users can perform on databases using role-based access control (RBAC) in Amazon DocumentDB" | 2026-11-08 | VERIFIED |
| DOCDB-E21 | IAM identity authentication is password-less for non-primary database users, available only on instance-based cluster version 5.0; the primary user must use password authentication. | https://docs.aws.amazon.com/documentdb/latest/developerguide/iam-identity-auth.html | Authentication using IAM identity: "Amazon DocumentDB IAM authentication is a password-less authentication method." | 2026-11-08 | VERIFIED |
| DOCDB-E22 | Tags can be set on clusters, instances, snapshots, cluster snapshots, parameter groups, cluster parameter groups, security groups and subnet groups; a tag set holds at most 10 tags; tags can be used with IAM policies and cost tracking, but a tag on a snapshot is not reflected in the bill. | https://docs.aws.amazon.com/documentdb/latest/developerguide/tagging.html | Tagging Amazon DocumentDB resources: "These tags can be used with AWS Identity and Access Management (IAM) policies to manage access to Amazon DocumentDB resources" | 2026-11-08 | VERIFIED |
| DOCDB-E23 | Storage encryption uses AES-256 with keys in AWS KMS and covers storage volume, indexes, logs, automated backups and snapshots, cluster-wide. | https://docs.aws.amazon.com/documentdb/latest/developerguide/encryption-at-rest.html | Encrypting Amazon DocumentDB data at rest: "Amazon DocumentDB uses the 256-bit Advanced Encryption Standard (AES-256) to encrypt your data using encryption keys stored in AWS Key Management Service (AWS KMS)." | 2026-11-08 | VERIFIED |
| DOCDB-E24 | Encryption at rest is on by default for console-created clusters and off by default for CLI-created clusters; it cannot be changed after creation; only symmetric KMS keys are supported; the KMS key cannot be changed after creation. | https://docs.aws.amazon.com/documentdb/latest/developerguide/encryption-at-rest.html | Encrypting Amazon DocumentDB data at rest: "Clusters that you create using the console have encryption at rest enabled by default." | 2026-11-08 | VERIFIED |
| DOCDB-E25 | TLS encryption in transit is enabled by default for new clusters, is controlled by the tls parameter in a non-default cluster parameter group, and can be disabled. | https://docs.aws.amazon.com/documentdb/latest/developerguide/security.encryption.ssl.html | Encrypting data in transit: "By default, encryption in transit is enabled for newly created Amazon DocumentDB clusters." | 2026-11-08 | VERIFIED |
| DOCDB-E26 | Clusters are deployed within an Amazon VPC and are reached from the same VPC, or from other VPCs via peering. | https://docs.aws.amazon.com/documentdb/latest/developerguide/connect-from-outside-a-vpc.html | Connecting to an Amazon DocumentDB cluster from outside an Amazon VPC: "Amazon DocumentDB (with MongoDB compatibility) clusters are deployed within an Amazon Virtual Private Cloud (Amazon VPC)." | 2026-11-08 | VERIFIED |
| DOCDB-E27 | An interface VPC endpoint (AWS PrivateLink) can be created for the DocumentDB API (management) operations and an endpoint policy can be attached; instance-based clusters do not require it; elastic clusters do not support it. | https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-private-link.html | Amazon DocumentDB API and interface VPC endpoints (AWS PrivateLink): "Amazon DocumentDB elastic clusters do not support AWS PrivateLink VPC endpoints." | 2026-11-08 | VERIFIED |
| DOCDB-E28 | Control-plane API calls are recorded by CloudTrail (as Amazon RDS API calls because of shared technology); CloudTrail history is on by default. | https://docs.aws.amazon.com/documentdb/latest/developerguide/logging-with-cloudtrail.html | Logging Amazon DocumentDB API calls with AWS CloudTrail: "Amazon DocumentDB console, AWS CLI, and API calls are logged as calls made to the Amazon RDS API." | 2026-11-08 | VERIFIED |
| DOCDB-E29 | Database auditing is off by default, opt-in via parameter group; it records DDL, DML, authentication, authorization and user management events to CloudWatch Logs, with standard CloudWatch Logs charges; separate from CloudTrail. | https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html | Auditing Amazon DocumentDB events: "By default, auditing is disabled on Amazon DocumentDB and requires that you opt in to use this feature." | 2026-11-08 | VERIFIED |
| DOCDB-E901 | aws sts get-caller-identity returns the account and principal behind the credentials, used as the identity check. | https://docs.aws.amazon.com/cli/latest/reference/sts/get-caller-identity.html | Description: "Returns details about the IAM user or role whose credentials are used to call the operation." | 2026-11-09 | VERIFIED |
| DOCDB-E902 | aws docdb describe-db-clusters reads cluster settings including BackupRetentionPeriod, DeletionProtection, StorageEncrypted, KmsKeyId, VpcSecurityGroups, EnabledCloudwatchLogsExports and DBClusterMembers. | https://docs.aws.amazon.com/cli/latest/reference/docdb/describe-db-clusters.html | Description: "Returns information about provisioned Amazon DocumentDB clusters. This API operation supports pagination." | 2026-11-09 | VERIFIED |
| DOCDB-E903 | aws docdb describe-db-cluster-snapshots lists cluster snapshots, filterable by cluster and --snapshot-type. | https://docs.aws.amazon.com/cli/latest/reference/docdb/describe-db-cluster-snapshots.html | Description: "Returns information about cluster snapshots. This API operation supports pagination." | 2026-11-09 | VERIFIED |
| DOCDB-E904 | aws docdb describe-db-instances lists instances; the db-cluster-id filter limits it to one cluster. | https://docs.aws.amazon.com/cli/latest/reference/docdb/describe-db-instances.html | Description: "Returns information about provisioned Amazon DocumentDB instances. This API supports pagination." | 2026-11-09 | VERIFIED |
| DOCDB-E905 | aws docdb describe-global-clusters reads global cluster membership. | https://docs.aws.amazon.com/cli/latest/reference/docdb/describe-global-clusters.html | Description: "Returns information about Amazon DocumentDB global clusters. This API supports pagination." | 2026-11-09 | VERIFIED |
| DOCDB-E906 | aws cloudwatch describe-alarms lists alarms; --query filters by Namespace client-side. | https://docs.aws.amazon.com/cli/latest/reference/cloudwatch/describe-alarms.html | Description: "Retrieves the specified alarms. You can filter the results by specifying a prefix for the alarm name, the alarm state, or a prefix for any action." | 2026-11-09 | VERIFIED |
| DOCDB-E907 | aws docdb list-tags-for-resource reads tags on a cluster ARN. | https://docs.aws.amazon.com/cli/latest/reference/docdb/list-tags-for-resource.html | Description: "Lists all tags on an Amazon DocumentDB resource." | 2026-11-09 | VERIFIED |
| DOCDB-E908 | aws docdb describe-db-cluster-parameters reads parameters such as tls and audit_logs in a cluster parameter group. | https://docs.aws.amazon.com/cli/latest/reference/docdb/describe-db-cluster-parameters.html | Description: "Returns the detailed parameter list for a particular cluster parameter group." | 2026-11-09 | VERIFIED |
| DOCDB-E909 | aws docdb describe-db-subnet-groups reads the subnets a cluster can use. | https://docs.aws.amazon.com/cli/latest/reference/docdb/describe-db-subnet-groups.html | Description: "Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup ." | 2026-11-09 | VERIFIED |
| DOCDB-E910 | aws ec2 describe-vpc-endpoints lists interface endpoints including ServiceName. | https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-vpc-endpoints.html | Description: "Describes your VPC endpoints. The default is to describe all your VPC endpoints." | 2026-11-09 | VERIFIED |
| DOCDB-E911 | aws cloudtrail describe-trails lists trail settings. | https://docs.aws.amazon.com/cli/latest/reference/cloudtrail/describe-trails.html | Description: "Retrieves settings for one or more trails associated with the current Region for your account." | 2026-11-09 | VERIFIED |
| DOCDB-E912 | The interface VPC endpoint for the DocumentDB management API uses the service name com.amazonaws.region.rds. | https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-private-link.html | Creating an interface VPC endpoint for Amazon DocumentDB API: "Create a VPC endpoint for the Amazon DocumentDB API using the service name `com.amazonaws.region.rds`." | 2026-11-09 | VERIFIED |
