CopyClusterSnapshot
Source:
src/AWS/DocDBElastic/CopyClusterSnapshot.ts
Runtime binding for the CopyClusterSnapshot operation (IAM actions
docdb-elastic:CopyClusterSnapshot + docdb-elastic:TagResource).
Copies an elastic-cluster snapshot — e.g. re-encrypting under a different
KMS key or fanning a nightly backup out under a retention-tagged name.
Provide the implementation with
Effect.provide(AWS.DocDBElastic.CopyClusterSnapshotHttp).
Managing Snapshots
Section titled “Managing Snapshots”const copySnapshot = yield* DocDBElastic.CopyClusterSnapshot();
const result = yield* copySnapshot({ snapshotArn, targetSnapshotName: "weekly-archive", copyTags: true,});// result.snapshot.snapshotName → "weekly-archive"