Class ClusterParameterGroup

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.neptune.ClusterParameterGroup
All Implemented Interfaces:
IConstruct, IDependable, IResource, IClusterParameterGroup, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.324Z") @Stability(Experimental) public class ClusterParameterGroup extends Resource implements IClusterParameterGroup
(experimental) A cluster parameter group.

Example:

 ClusterParameterGroup clusterParams = ClusterParameterGroup.Builder.create(this, "ClusterParams")
         .description("Cluster parameter group")
         .parameters(Map.of(
                 "neptune_enable_audit_log", "1"))
         .build();
 ParameterGroup dbParams = ParameterGroup.Builder.create(this, "DbParams")
         .description("Db parameter group")
         .parameters(Map.of(
                 "neptune_query_timeout", "120000"))
         .build();
 DatabaseCluster cluster = DatabaseCluster.Builder.create(this, "Database")
         .vpc(vpc)
         .instanceType(InstanceType.R5_LARGE)
         .clusterParameterGroup(clusterParams)
         .parameterGroup(dbParams)
         .build();
 
  • Constructor Details

    • ClusterParameterGroup

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

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

      @Stability(Experimental) public ClusterParameterGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ClusterParameterGroupProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromClusterParameterGroupName

      @Stability(Experimental) @NotNull public static IClusterParameterGroup fromClusterParameterGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String clusterParameterGroupName)
      (experimental) Imports a parameter group.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      clusterParameterGroupName - This parameter is required.
    • getClusterParameterGroupName

      @Stability(Experimental) @NotNull public String getClusterParameterGroupName()
      (experimental) The name of the parameter group.
      Specified by:
      getClusterParameterGroupName in interface IClusterParameterGroup