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.
Container for the parameters to the ModifyDBParameterGroup operation.
Modifies the parameters of a DB parameter group. To modify more than one parameter,
submit a list of the following:
Changes to dynamic parameters are applied immediately. Changes to static parameters
require a reboot without failover to the DB instance associated with the parameter
group before the change can take effect.
After you modify a DB parameter group, you should wait at least 5 minutes before creating
your first DB instance that uses that DB parameter group as the default parameter
group. This allows Amazon Neptune to fully complete the modify action before the parameter
group is used as the default for a new DB instance. This is especially important for
parameters that are critical when creating the default database for a DB instance,
such as the character set for the default database defined by the ParameterName
, ParameterValue
, and ApplyMethod
.
A maximum of 20 parameters can be modified in a single request.
character_set_database
parameter. You can use the Parameter Groups option of the Amazon Neptune console
or the DescribeDBParameters command to verify that your DB parameter group
has been created or modified.
Namespace: Amazon.Neptune.Model
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public class ModifyDBParameterGroupRequest : AmazonNeptuneRequest IAmazonWebServiceRequest
The ModifyDBParameterGroupRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
ModifyDBParameterGroupRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
DBParameterGroupName | System.String |
Gets and sets the property DBParameterGroupName. The name of the DB parameter group. Constraints:
|
![]() |
Parameters | System.Collections.Generic.List<Amazon.Neptune.Model.Parameter> |
Gets and sets the property Parameters. An array of parameter names, values, and the apply method for the parameter update. At least one parameter name, value, and apply method must be supplied; subsequent arguments are optional. A maximum of 20 parameters can be modified in a single request.
Valid Values (for the application method): You can use the immediate value with dynamic parameters only. You can use the pending-reboot value for both dynamic and static parameters, and changes are applied when you reboot the DB instance without failover. |
This example immediately changes the specified setting for the specified DB parameter group.
var response = client.ModifyDBParameterGroup(new ModifyDBParameterGroupRequest { DBParameterGroupName = "mymysqlparametergroup", Parameters = new List<Parameter> { new Parameter { ApplyMethod = "immediate", ParameterName = "time_zone", ParameterValue = "America/Phoenix" } } });
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5