createDbSnapshot

Creates a snapshot of a DB instance. The source DB instance must be in the available or storage-optimization state.

Samples

// The following example creates a DB snapshot.
val resp = rdsClient.createDbSnapshot {
    dbSnapshotIdentifier = "database-mysql"
    dbInstanceIdentifier = "mydbsnapshot"
}