Class CfnDBParameterGroupPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
AWS::Neptune::DBParameterGroup creates a new DB parameter group.
This type can be declared in a template and referenced in the DBParameterGroupName parameter of AWS::Neptune::DBInstance .
Applying a parameter group to a DB instance might require the instance to reboot, resulting in a database outage for the duration of the reboot. > If you provide a custom
DBParameterGroupthat you associate withDBInstance, it is best to specify anEngineVersionproperty inDBCluster. ThatEngineVersionneeds to be compatible with the value of theFamilyproperty in theDBParameterGroup.
A DB parameter group is initially created with the default parameters for the database engine used by the DB instance. To provide custom values for any of the parameters, you must modify the group after creating it using ModifyDBParameterGroup . Once you've created a DB parameter group, you need to associate it with your DB instance using ModifyDBInstance . When you associate a new DB parameter group with a running DB instance, you need to reboot the DB instance without failover for the new DB parameter group and associated settings to take effect.
After you create 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 create 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
character_set_databaseparameter. 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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.neptune.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
Object parameters;
CfnDBParameterGroupPropsMixin cfnDBParameterGroupPropsMixin = CfnDBParameterGroupPropsMixin.Builder.create(CfnDBParameterGroupMixinProps.builder()
.description("description")
.family("family")
.name("name")
.parameters(parameters)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDBParameterGroupPropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::Neptune::DBParameterGroup.Create a mixin to apply properties toAWS::Neptune::DBParameterGroup.protectedCfnDBParameterGroupPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDBParameterGroupPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDBParameterGroupMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnDBParameterGroupPropsMixin
protected CfnDBParameterGroupPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDBParameterGroupPropsMixin
protected CfnDBParameterGroupPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDBParameterGroupPropsMixin
@Stability(Stable) public CfnDBParameterGroupPropsMixin(@NotNull CfnDBParameterGroupMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::Neptune::DBParameterGroup.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDBParameterGroupPropsMixin
@Stability(Stable) public CfnDBParameterGroupPropsMixin(@NotNull CfnDBParameterGroupMixinProps props) Create a mixin to apply properties toAWS::Neptune::DBParameterGroup.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-