Skip to content

CopyDBClusterSnapshot

Source: src/AWS/DocDB/CopyDBClusterSnapshot.ts

Runtime binding for the CopyDBClusterSnapshot operation (IAM action rds:CopyDBClusterSnapshot — DocumentDB shares the RDS control plane).

Copies a DocumentDB cluster snapshot — to a new name, another KMS key, or (with a pre-signed URL) another region — the core of snapshot fan-out and DR automation. Source and target identifiers are runtime data, so the grant spans the account’s cluster-snapshot ARNs. Provide the implementation with Effect.provide(AWS.DocDB.CopyDBClusterSnapshotHttp).

const copySnapshot = yield* DocDB.CopyDBClusterSnapshot();
yield* copySnapshot({
SourceDBClusterSnapshotIdentifier: "nightly-2026-07-15",
TargetDBClusterSnapshotIdentifier: "archive-2026-07-15",
});