ModifyDBClusterGroup
Modifies the settings of a DB cluster group.
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 modify.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern:
[a-zA-Z](?:-?[a-zA-Z0-9]+)*Required: Yes
- AdminUsername
-
The name of the admin user that the routing endpoint uses to connect to the member DB clusters.
If you specify
AdminUsername, you must also specifyAdminUserPassword.Default: None. An admin user is required when you enable routing.
Type: String
Required: No
- AdminUserPassword
-
The password for the admin user that the routing endpoint uses to connect to the member DB clusters.
If you specify
AdminUserPassword, you must also specifyAdminUsername.Default: None. An admin user is required when you enable routing.
Type: String
Required: No
- ApplyImmediately
-
Specifies whether to apply the engine version upgrade as soon as possible, regardless of the
PreferredMaintenanceWindowsetting for the DB cluster group. If this parameter is disabled, the upgrade is applied during the next maintenance window.Default:
falseType: Boolean
Required: No
- BackupRetentionPeriod
-
The number of days for which automated backups of the DB cluster group are retained.
Constraints: Must be a value from 1 to 35. Can't be greater than the backup retention period of any member DB cluster.
Type: Integer
Required: No
- CopyTagsToSnapshot
-
Specifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group. The default is not to copy them.
Type: Boolean
Required: No
- DeletionProtection
-
Specifies whether the DB cluster group has deletion protection enabled. You can't delete the DB cluster group when deletion protection is enabled. By default, deletion protection isn't enabled.
Type: Boolean
Required: No
- EnableRouting
-
Specifies whether to enable or disable routing for the DB cluster group.
When you enable routing, you must specify
VpcSubnetIdsinRoutingEndpointConfiguration.Type: Boolean
Required: No
- EngineVersion
-
The engine version to upgrade the member DB clusters of the DB cluster group to. Until the upgrade is applied, the version is shown in the
PendingModifiedValuesof the DB cluster group.Type: String
Required: No
- PreferredBackupWindow
-
The daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).
Format:
hh24:mi-hh24:miConstraints: Must be at least 30 minutes. Must not overlap the preferred maintenance window of the DB cluster group or the preferred maintenance window of any member DB cluster.
Type: String
Required: No
- PreferredMaintenanceWindow
-
The weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).
Format:
ddd:hh24:mi-ddd:hh24:miValid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Must be at least 30 minutes. Must not overlap the preferred backup window.
The maintenance window of the DB cluster group can overlap the maintenance windows of its member DB clusters.
Type: String
Required: No
- RoutingEndpointConfiguration
-
The settings of the routing endpoint. Specify this parameter with
EnableRoutingset totrue, includingVpcSubnetIds, or to changeParameterswhile routing is enabled.Type: RoutingEndpointConfiguration object
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, andRestoreDBClusterGroupToPointInTimeactions.Type: DBClusterGroup object
Errors
For information about the errors that are common to all actions, see Common Error Types.
- DBClusterGroupAlreadyExists
-
The specified DB cluster group identifier is already in use in your AWS account in the current AWS Region. Specify a different identifier.
HTTP Status Code: 400
- DBClusterGroupNotFound
-
The specified DB cluster group wasn't found. Verify that the DB cluster group identifier is correct.
HTTP Status Code: 404
- InsufficientAvailableIPsInSubnetFault
-
The requested operation can't be performed because there aren't enough available IP addresses in the proxy's subnets. Add more CIDR blocks to the VPC or remove IP address that aren't required from the subnets.
HTTP Status Code: 400
- InvalidDBClusterGroupState
-
The DB cluster group isn't in a valid state.
HTTP Status Code: 400
- InvalidSubnet
-
The requested subnet is invalid, or multiple subnets were requested that are not all in a common VPC.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: