Delete Db Cluster
| docdb_delete_db_cluster | R Documentation |
Deletes a previously provisioned cluster¶
Description¶
Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.
Usage¶
Arguments¶
DBClusterIdentifier[required] The cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
Must match an existing
DBClusterIdentifier.
SkipFinalSnapshotDetermines whether a final cluster snapshot is created before the cluster is deleted. If
trueis specified, no cluster snapshot is created. Iffalseis specified, a cluster snapshot is created before the DB cluster is deleted.If
SkipFinalSnapshotisfalse, you must specify aFinalDBSnapshotIdentifierparameter.Default:
falseFinalDBSnapshotIdentifierThe cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshotis set tofalse.Specifying this parameter and also setting the
SkipFinalShapshotparameter totrueresults 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.
Value¶
A list with the following syntax:
list(
DBCluster = list(
AvailabilityZones = list(
"string"
),
BackupRetentionPeriod = 123,
DBClusterIdentifier = "string",
DBClusterParameterGroup = "string",
DBSubnetGroup = "string",
Status = "string",
PercentProgress = "string",
EarliestRestorableTime = as.POSIXct(
"2015-01-01"
),
Endpoint = "string",
ReaderEndpoint = "string",
MultiAZ = TRUE|FALSE,
Engine = "string",
EngineVersion = "string",
LatestRestorableTime = as.POSIXct(
"2015-01-01"
),
Port = 123,
MasterUsername = "string",
PreferredBackupWindow = "string",
PreferredMaintenanceWindow = "string",
ReplicationSourceIdentifier = "string",
ReadReplicaIdentifiers = list(
"string"
),
DBClusterMembers = list(
list(
DBInstanceIdentifier = "string",
IsClusterWriter = TRUE|FALSE,
DBClusterParameterGroupStatus = "string",
PromotionTier = 123
)
),
VpcSecurityGroups = list(
list(
VpcSecurityGroupId = "string",
Status = "string"
)
),
HostedZoneId = "string",
StorageEncrypted = TRUE|FALSE,
KmsKeyId = "string",
DbClusterResourceId = "string",
DBClusterArn = "string",
AssociatedRoles = list(
list(
RoleArn = "string",
Status = "string"
)
),
CloneGroupId = "string",
ClusterCreateTime = as.POSIXct(
"2015-01-01"
),
EnabledCloudwatchLogsExports = list(
"string"
),
DeletionProtection = TRUE|FALSE,
StorageType = "string"
)
)