Skip to content

StartCluster

Source: src/AWS/DocDBElastic/StartCluster.ts

Runtime binding for the StartCluster operation (IAM action docdb-elastic:StartCluster), scoped to one Cluster.

Restarts the bound elastic cluster after it was stopped — compute billing resumes and the cluster transitions through STARTING back to ACTIVE. Provide the implementation with Effect.provide(AWS.DocDBElastic.StartClusterHttp).

const startCluster = yield* DocDBElastic.StartCluster(cluster);
const result = yield* startCluster();
// result.cluster.status → "STARTING"