CreateDBClusterSnapshot
Source:
src/AWS/RDS/CreateDBClusterSnapshot.ts
Runtime binding for the CreateDBClusterSnapshot operation (IAM actions
rds:CreateDBClusterSnapshot +
rds:AddTagsToResource).
Takes a manual snapshot of the bound DBCluster — e.g. a
pre-migration backup function or a scheduled snapshot-rotation job. The
cluster identifier is injected from the binding. Provide the implementation with
Effect.provide(AWS.RDS.CreateDBClusterSnapshotHttp).
Managing Cluster Snapshots
Section titled “Managing Cluster Snapshots”// init — bind the operation to the clusterconst createDBClusterSnapshot = yield* AWS.RDS.CreateDBClusterSnapshot(cluster);
// runtimeyield* createDBClusterSnapshot({ DBClusterSnapshotIdentifier: `pre-migration-${runId}`,});