stopDbCluster
inline suspend fun RdsClient.stopDbCluster(crossinline block: StopDbClusterRequest.Builder.() -> Unit): StopDbClusterResponse
Stops an Amazon Aurora DB cluster. When you stop a DB cluster, Aurora retains the DB cluster's metadata, including its endpoints and DB parameter groups. Aurora also retains the transaction logs so you can do a point-in-time restore if necessary.
For more information, see Stopping and Starting an Aurora Cluster in the Amazon Aurora User Guide.
This operation only applies to Aurora DB clusters.
Samples
// The following example stops a DB cluster and its DB instances.
val resp = rdsClient.stopDbCluster {
dbClusterIdentifier = "mydbcluster"
}Content copied to clipboard