Skip to content

StopDBCluster

Source: src/AWS/RDS/StopDBCluster.ts

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

Stops the bound DBCluster — e.g. an ops function that parks a development cluster overnight to save cost. The cluster identifier is injected from the binding. Provide the implementation with Effect.provide(AWS.RDS.StopDBClusterHttp).

// init — bind the operation to the cluster
const stopDBCluster = yield* AWS.RDS.StopDBCluster(cluster);
// runtime
yield* stopDBCluster();