CreateClusterSnapshot
Source:
src/AWS/Redshift/CreateClusterSnapshot.ts
Runtime binding for the CreateClusterSnapshot operation (IAM action
redshift:CreateClusterSnapshot on the cluster and its
snapshot:{cluster}/* ARNs).
Takes a manual snapshot of the bound Cluster — 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.Redshift.CreateClusterSnapshotHttp).
Managing Snapshots
Section titled “Managing Snapshots”// init — bind the operation to the clusterconst createClusterSnapshot = yield* AWS.Redshift.CreateClusterSnapshot(cluster);
// runtimeyield* createClusterSnapshot({ SnapshotIdentifier: `pre-migration-${runId}`,});