Class ParameterGroup

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.neptune.alpha.ParameterGroup
All Implemented Interfaces:
IResource, IParameterGroup, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:18.330Z") @Stability(Experimental) public class ParameterGroup extends Resource implements IParameterGroup
(experimental) DB 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

    • ParameterGroup

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

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

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

    • fromParameterGroupName

      @Stability(Experimental) @NotNull public static IParameterGroup fromParameterGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String parameterGroupName)
      (experimental) Imports a parameter group.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      parameterGroupName - This parameter is required.
    • getParameterGroupName

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