Delete Db Cluster
neptune_delete_db_cluster | R Documentation |
The DeleteDBCluster action deletes a previously provisioned DB cluster¶
Description¶
The DeleteDBCluster action 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.
Note that the DB Cluster cannot be deleted if deletion protection is
enabled. To delete it, you must first set its DeletionProtection
field
to False
.
Usage¶
neptune_delete_db_cluster(DBClusterIdentifier, SkipFinalSnapshot,
FinalDBSnapshotIdentifier)
Arguments¶
DBClusterIdentifier |
[required] The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive. Constraints:
|
SkipFinalSnapshot |
Determines whether a final DB cluster snapshot is created before
the DB cluster is deleted. If You must specify a Default: |
FinalDBSnapshotIdentifier |
The DB cluster snapshot identifier of the new DB cluster snapshot
created when Specifying this parameter and also setting the
Constraints:
|
Value¶
A list with the following syntax:
list(
DBCluster = list(
AllocatedStorage = 123,
AvailabilityZones = list(
"string"
),
BackupRetentionPeriod = 123,
CharacterSetName = "string",
DatabaseName = "string",
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",
DBClusterOptionGroupMemberships = list(
list(
DBClusterOptionGroupName = "string",
Status = "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",
FeatureName = "string"
)
),
IAMDatabaseAuthenticationEnabled = TRUE|FALSE,
CloneGroupId = "string",
ClusterCreateTime = as.POSIXct(
"2015-01-01"
),
CopyTagsToSnapshot = TRUE|FALSE,
EnabledCloudwatchLogsExports = list(
"string"
),
PendingModifiedValues = list(
PendingCloudwatchLogsExports = list(
LogTypesToEnable = list(
"string"
),
LogTypesToDisable = list(
"string"
)
),
DBClusterIdentifier = "string",
IAMDatabaseAuthenticationEnabled = TRUE|FALSE,
EngineVersion = "string",
BackupRetentionPeriod = 123,
StorageType = "string",
AllocatedStorage = 123,
Iops = 123
),
DeletionProtection = TRUE|FALSE,
CrossAccountClone = TRUE|FALSE,
AutomaticRestartTime = as.POSIXct(
"2015-01-01"
),
ServerlessV2ScalingConfiguration = list(
MinCapacity = 123.0,
MaxCapacity = 123.0
),
GlobalClusterIdentifier = "string",
IOOptimizedNextAllowedModificationTime = as.POSIXct(
"2015-01-01"
),
StorageType = "string"
)
)
Request syntax¶
svc$delete_db_cluster(
DBClusterIdentifier = "string",
SkipFinalSnapshot = TRUE|FALSE,
FinalDBSnapshotIdentifier = "string"
)