Class CfnDBClusterParameterGroupPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
AWS::DocDB::DBClusterParameterGroup Amazon DocumentDB (with MongoDB compatibility) resource describes a DBClusterParameterGroup.
For more information, see DBClusterParameterGroup in the Amazon DocumentDB Developer Guide .
Parameters in a cluster parameter group apply to all of the instances in a cluster.
A cluster parameter group is initially created with the default parameters for the database engine used by instances in the cluster. To provide custom values for any of the parameters, you must modify the group after you create it. After you create a DB cluster parameter group, you must associate it with your cluster. For the new cluster parameter group and associated settings to take effect, you must then reboot the DB instances in the cluster without failover.
After you create a cluster parameter group, you should wait at least 5 minutes before creating your first cluster that uses that cluster parameter group as the default parameter group. This allows Amazon DocumentDB to fully complete the create action before the cluster parameter group is used as the default for a new cluster. This step is especially important for parameters that are critical when creating the default database for a cluster, such as the character set for the default database defined by the
character_set_databaseparameter.
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.docdb.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
Object parameters;
CfnDBClusterParameterGroupPropsMixin cfnDBClusterParameterGroupPropsMixin = CfnDBClusterParameterGroupPropsMixin.Builder.create(CfnDBClusterParameterGroupMixinProps.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 forCfnDBClusterParameterGroupPropsMixin.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::DocDB::DBClusterParameterGroup.CfnDBClusterParameterGroupPropsMixin(CfnDBClusterParameterGroupMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::DocDB::DBClusterParameterGroup.protectedCfnDBClusterParameterGroupPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDBClusterParameterGroupPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDBClusterParameterGroupMixinPropsgetProps()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
-
CfnDBClusterParameterGroupPropsMixin
protected CfnDBClusterParameterGroupPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDBClusterParameterGroupPropsMixin
protected CfnDBClusterParameterGroupPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDBClusterParameterGroupPropsMixin
@Stability(Stable) public CfnDBClusterParameterGroupPropsMixin(@NotNull CfnDBClusterParameterGroupMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::DocDB::DBClusterParameterGroup.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDBClusterParameterGroupPropsMixin
@Stability(Stable) public CfnDBClusterParameterGroupPropsMixin(@NotNull CfnDBClusterParameterGroupMixinProps props) Create a mixin to apply properties toAWS::DocDB::DBClusterParameterGroup.- 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
-