createDbClusterSnapshot
inline suspend fun RdsClient.createDbClusterSnapshot(crossinline block: CreateDbClusterSnapshotRequest.Builder.() -> Unit): CreateDbClusterSnapshotResponse
Creates a snapshot of a DB cluster.
For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.
Samples
fun main() {
//sampleStart
// The following example creates a DB cluster snapshot.
val resp = rdsClient.createDbClusterSnapshot {
dbClusterSnapshotIdentifier = "mydbcluster"
dbClusterIdentifier = "mydbclustersnapshot"
}
//sampleEnd
}