AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates a new DB cluster parameter group.
Parameters in a DB cluster parameter group apply to all of the instances in a DB cluster.
A DB cluster parameter group is initially created with the default parameters for the database engine used by instances in the DB cluster. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBClusterParameterGroup. Once you've created a DB cluster parameter group, you need to associate it with your DB cluster using ModifyDBCluster. When you associate a new DB cluster parameter group with a running DB cluster, you need to reboot the DB instances in the DB cluster without failover for the new DB cluster parameter group and associated settings to take effect.
After you create a DB cluster parameter group, you should wait at least 5 minutes
before creating your first DB cluster that uses that DB cluster parameter group as
the default parameter group. This allows Amazon Neptune to fully complete the create
action before the DB cluster parameter group is used as the default for a new DB cluster.
This is especially important for parameters that are critical when creating the default
database for a DB cluster, such as the character set for the default database defined
by the character_set_database
parameter. You can use the Parameter Groups
option of the Amazon Neptune console
or the DescribeDBClusterParameters command to verify that your DB cluster parameter
group has been created or modified.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateDBClusterParameterGroupAsync.
Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public abstract CreateDBClusterParameterGroupResponse CreateDBClusterParameterGroup( CreateDBClusterParameterGroupRequest request )
Container for the necessary parameters to execute the CreateDBClusterParameterGroup service method.
Exception | Condition |
---|---|
DBParameterGroupAlreadyExistsException | A DB parameter group with the same name exists. |
DBParameterGroupQuotaExceededException | Request would result in user exceeding the allowed number of DB parameter groups. |
This example creates a DB cluster parameter group.
var response = client.CreateDBClusterParameterGroup(new CreateDBClusterParameterGroupRequest { DBClusterParameterGroupName = "mydbclusterparametergroup", DBParameterGroupFamily = "aurora5.6", Description = "My DB cluster parameter group" }); DBClusterParameterGroup dbClusterParameterGroup = response.DBClusterParameterGroup;
.NET Framework:
Supported in: 4.5 and newer, 3.5