@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-09T19:16:38.453Z") public class ClusterParameterGroup extends Resource implements IClusterParameterGroup
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();
Modifier and Type | Class and Description |
---|---|
static class |
ClusterParameterGroup.Builder
(experimental) A fluent builder for
ClusterParameterGroup . |
IClusterParameterGroup.Jsii$Default, IClusterParameterGroup.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
ClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) |
|
ClusterParameterGroup(software.constructs.Construct scope,
java.lang.String id,
ClusterParameterGroupProps props) |
Modifier and Type | Method and Description |
---|---|
static IClusterParameterGroup |
fromClusterParameterGroupName(software.constructs.Construct scope,
java.lang.String id,
java.lang.String clusterParameterGroupName)
(experimental) Imports a parameter group.
|
java.lang.String |
getClusterParameterGroupName()
(experimental) The name of the parameter group.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected ClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected ClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public ClusterParameterGroup(software.constructs.Construct scope, java.lang.String id, ClusterParameterGroupProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IClusterParameterGroup fromClusterParameterGroupName(software.constructs.Construct scope, java.lang.String id, java.lang.String clusterParameterGroupName)
scope
- This parameter is required.id
- This parameter is required.clusterParameterGroupName
- This parameter is required.public java.lang.String getClusterParameterGroupName()
getClusterParameterGroupName
in interface IClusterParameterGroup