Class CfnDBClusterParameterGroup

All Implemented Interfaces:
IInspectable, ITaggable,, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:00.195Z") @Stability(Stable) public class CfnDBClusterParameterGroup extends CfnResource implements IInspectable, ITaggable
The 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_database parameter.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object parameters;
 CfnDBClusterParameterGroup cfnDBClusterParameterGroup = CfnDBClusterParameterGroup.Builder.create(this, "MyCfnDBClusterParameterGroup")
         // the properties below are optional

See Also:
  • Field Details


      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnDBClusterParameterGroup

      protected CfnDBClusterParameterGroup( objRef)
    • CfnDBClusterParameterGroup

      protected CfnDBClusterParameterGroup( initializationMode)
    • CfnDBClusterParameterGroup

      @Stability(Stable) public CfnDBClusterParameterGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDBClusterParameterGroupProps props)
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      renderProperties in class CfnResource
      props - This parameter is required.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getDescription

      @Stability(Stable) @NotNull public String getDescription()
      The description for the cluster parameter group.
    • setDescription

      @Stability(Stable) public void setDescription(@NotNull String value)
      The description for the cluster parameter group.
    • getFamily

      @Stability(Stable) @NotNull public String getFamily()
      The cluster parameter group family name.
    • setFamily

      @Stability(Stable) public void setFamily(@NotNull String value)
      The cluster parameter group family name.
    • getParameters

      @Stability(Stable) @NotNull public Object getParameters()
      Provides a list of parameters for the cluster parameter group.
    • setParameters

      @Stability(Stable) public void setParameters(@NotNull Object value)
      Provides a list of parameters for the cluster parameter group.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the DB cluster parameter group.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the DB cluster parameter group.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      The tags to be assigned to the cluster parameter group.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      The tags to be assigned to the cluster parameter group.