Skip to content

CopyDBClusterSnapshot

Source: src/AWS/Neptune/CopyDBClusterSnapshot.ts

Runtime binding for the CopyDBClusterSnapshot operation (IAM action rds:CopyDBClusterSnapshot).

Copies a Neptune cluster snapshot — e.g. archive a nightly snapshot under a retention prefix, or copy it for cross-region disaster recovery. Provide the implementation with Effect.provide(AWS.Neptune.CopyDBClusterSnapshotHttp).

const copyDBClusterSnapshot = yield* AWS.Neptune.CopyDBClusterSnapshot();
yield* copyDBClusterSnapshot({
SourceDBClusterSnapshotIdentifier: snapshotId,
TargetDBClusterSnapshotIdentifier: `${snapshotId}-archive`,
});