

# AddDBClusterToDBClusterGroup

Adds an Aurora DB cluster to a DB cluster group.

The DB cluster must use the same database engine as the DB cluster group. The DB cluster's maintenance window can't overlap the backup window of the DB cluster group, and its backup retention period must be at least the backup retention period of the DB cluster group.

## Request Parameters
<a name="API_AddDBClusterToDBClusterGroup_RequestParameters"></a>

 For information about the parameters that are common to all actions, see [Common Parameters](CommonParameters.md).

 ** DBClusterGroupIdentifier **   
The identifier of the DB cluster group to add the DB cluster to.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 63.  
Pattern: `[a-zA-Z](?:-?[a-zA-Z0-9]+)*`   
Required: Yes

 ** DBClusterIdentifier **   
The identifier of the DB cluster to add to the DB cluster group.  
Type: String  
Required: Yes

 ** DBClusterGroupUpgradeWave **   
The upgrade wave to assign to the DB cluster in the DB cluster group. When the DB cluster group is upgraded, Amazon RDS upgrades its member DB clusters in waves, in ascending order of wave number. To change the wave later, use `ModifyDBCluster`.  
Default: `1`   
Constraints: Must be a value from 1 to 10.  
Type: Integer  
Valid Range: Minimum value of 1. Maximum value of 10.  
Required: No

## Errors
<a name="API_AddDBClusterToDBClusterGroup_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** DBClusterGroupMemberQuotaExceeded **   
The DB cluster group already has the maximum number of member DB clusters.  
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

 ** DBClusterNotFoundFault **   
 `DBClusterIdentifier` doesn't refer to an existing DB cluster.  
HTTP Status Code: 404

 ** InvalidDBClusterGroupState **   
The DB cluster group isn't in a valid state.  
HTTP Status Code: 400

 ** InvalidDBClusterStateFault **   
The requested operation can't be performed while the cluster is in this state.  
HTTP Status Code: 400

## See Also
<a name="API_AddDBClusterToDBClusterGroup_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/rds-2014-10-31/AddDBClusterToDBClusterGroup) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/rds-2014-10-31/AddDBClusterToDBClusterGroup) 