Class CfnDBClusterParameterGroup

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.neptune.CfnDBClusterParameterGroup
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:05.884Z") @Stability(Stable) public class CfnDBClusterParameterGroup extends CfnResource implements IInspectable, ITaggable
The AWS::Neptune::DBClusterParameterGroup resource creates a new Amazon Neptune DB cluster parameter group.

Applying a parameter group to a DB cluster might require instances to reboot, resulting in a database outage while the instances reboot. > If you provide a custom DBClusterParameterGroup that you associate with the DBCluster , it is best to specify an EngineVersion property in the DBCluster . That EngineVersion needs to be compatible with the value of the Family property in the DBClusterParameterGroup .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.neptune.*;
 Object parameters;
 CfnDBClusterParameterGroup cfnDBClusterParameterGroup = CfnDBClusterParameterGroup.Builder.create(this, "MyCfnDBClusterParameterGroup")
         .description("description")
         .family("family")
         .parameters(parameters)
         // the properties below are optional
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

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

    • CfnDBClusterParameterGroup

      protected CfnDBClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnDBClusterParameterGroup

      protected CfnDBClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnDBClusterParameterGroup

      @Stability(Stable) public CfnDBClusterParameterGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDBClusterParameterGroupProps props)
      Parameters:
      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
      Parameters:
      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)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrId

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

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      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()
      Provides the customer-specified description for this DB cluster parameter group.
    • setDescription

      @Stability(Stable) public void setDescription(@NotNull String value)
      Provides the customer-specified description for this DB cluster parameter group.
    • getFamily

      @Stability(Stable) @NotNull public String getFamily()
      Must be neptune1 for engine versions prior to 1.2.0.0 , or neptune1.2 for engine version 1.2.0.0 and higher.
    • setFamily

      @Stability(Stable) public void setFamily(@NotNull String value)
      Must be neptune1 for engine versions prior to 1.2.0.0 , or neptune1.2 for engine version 1.2.0.0 and higher.
    • getParameters

      @Stability(Stable) @NotNull public Object getParameters()
      The parameters to set for this DB cluster parameter group.
    • setParameters

      @Stability(Stable) public void setParameters(@NotNull Object value)
      The parameters to set for this DB cluster parameter group.
    • getName

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

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

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      The tags that you want to attach to this parameter group.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      The tags that you want to attach to this parameter group.