FailoverDBCluster
Source:
src/AWS/RDS/FailoverDBCluster.ts
Runtime binding for the FailoverDBCluster operation (IAM action
rds:FailoverDBCluster).
Forces a failover of the bound DBCluster — promotes a reader to
writer, e.g. for chaos testing or AZ evacuation. The cluster identifier
is injected from the binding. Provide the implementation with
Effect.provide(AWS.RDS.FailoverDBClusterHttp).
Operating a Cluster
Section titled “Operating a Cluster”// init — bind the operation to the clusterconst failoverDBCluster = yield* AWS.RDS.FailoverDBCluster(cluster);
// runtimeyield* failoverDBCluster();