Skip to content

PauseCluster

Source: src/AWS/Redshift/PauseCluster.ts

Runtime binding for the PauseCluster operation (IAM action redshift:PauseCluster).

Pauses the bound Cluster (compute billing stops, storage persists) — e.g. a scheduled ops function that parks the warehouse overnight to save cost. The cluster identifier is injected from the binding. Provide the implementation with Effect.provide(AWS.Redshift.PauseClusterHttp).

// init — bind the operation to the cluster
const pauseCluster = yield* AWS.Redshift.PauseCluster(cluster);
// runtime
yield* pauseCluster();