@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:43.830Z") public class ParameterGroup extends Resource implements IParameterGroup
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 |
ParameterGroup.Builder
(experimental) A fluent builder for
ParameterGroup . |
IParameterGroup.Jsii$Default, IParameterGroup.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
ParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) |
|
ParameterGroup(software.constructs.Construct scope,
java.lang.String id,
ParameterGroupProps props) |
Modifier and Type | Method and Description |
---|---|
static IParameterGroup |
fromParameterGroupName(software.constructs.Construct scope,
java.lang.String id,
java.lang.String parameterGroupName)
(experimental) Imports a parameter group.
|
java.lang.String |
getParameterGroupName()
(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 ParameterGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected ParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public ParameterGroup(software.constructs.Construct scope, java.lang.String id, ParameterGroupProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IParameterGroup fromParameterGroupName(software.constructs.Construct scope, java.lang.String id, java.lang.String parameterGroupName)
scope
- This parameter is required.id
- This parameter is required.parameterGroupName
- This parameter is required.public java.lang.String getParameterGroupName()
getParameterGroupName
in interface IParameterGroup