Deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.
docdb_delete_db_cluster(DBClusterIdentifier, SkipFinalSnapshot,
FinalDBSnapshotIdentifier)
[required] The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case sensitive.
Constraints:
Must match an existing DBClusterIdentifier
.
Determines whether a final DB cluster snapshot is created before the DB
cluster is deleted. If true
is specified, no DB cluster snapshot is
created. If false
is specified, a DB cluster snapshot is created
before the DB cluster is deleted.
If SkipFinalSnapshot
is false
, you must specify a
FinalDBSnapshotIdentifier
parameter.
Default: false
The DB cluster snapshot identifier of the new DB cluster snapshot
created when SkipFinalSnapshot
is set to false
.
Specifying this parameter and also setting the SkipFinalShapshot
parameter to true
results in an error.
Constraints:
Must be from 1 to 255 letters, numbers, or hyphens.
The first character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
svc$delete_db_cluster( DBClusterIdentifier = "string", SkipFinalSnapshot = TRUE|FALSE, FinalDBSnapshotIdentifier = "string" )