View a markdown version of this page

DeleteDBClusterGroup - Amazon Relational Database Service

DeleteDBClusterGroup

Deletes a DB cluster group. You can't delete a DB cluster group that has deletion protection enabled.

Remove all DB clusters from the DB cluster group with RemoveDBClusterFromDBClusterGroup before you delete it.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

DBClusterGroupIdentifier

The identifier of the DB cluster group to delete.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 63.

Pattern: [a-zA-Z](?:-?[a-zA-Z0-9]+)*

Required: Yes

DeleteAutomatedBackups

Specifies whether to remove the automated backups of the DB cluster group immediately after you delete the DB cluster group. If you keep them, Amazon RDS retains them and you can restore from them with RestoreDBClusterGroupToPointInTime.

The default is to remove the automated backups immediately after the DB cluster group is deleted.

Type: Boolean

Required: No

Response Elements

The following element is returned by the service.

DBClusterGroup

Describes a DB cluster group, including its settings, status, member DB clusters, and routing endpoint.

This data type is used as a response element in the CreateDBClusterGroup, DeleteDBClusterGroup, DescribeDBClusterGroups, ModifyDBClusterGroup, RestoreDBClusterGroupFromSnapshot, and RestoreDBClusterGroupToPointInTime actions.

Type: DBClusterGroup object

Errors

For information about the errors that are common to all actions, see Common Error Types.

DBClusterGroupNotFound

The specified DB cluster group wasn't found. Verify that the DB cluster group identifier is correct.

HTTP Status Code: 404

InvalidDBClusterGroupState

The DB cluster group isn't in a valid state.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: