@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:45.824Z") public class CfnClusterParameterGroup extends CfnResource implements IInspectable
Describes a parameter group.
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.redshift.*; CfnClusterParameterGroup cfnClusterParameterGroup = CfnClusterParameterGroup.Builder.create(this, "MyCfnClusterParameterGroup") .description("description") .parameterGroupFamily("parameterGroupFamily") // the properties below are optional .parameterGroupName("parameterGroupName") .parameters(List.of(ParameterProperty.builder() .parameterName("parameterName") .parameterValue("parameterValue") .build())) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnClusterParameterGroup.Builder
A fluent builder for
CfnClusterParameterGroup . |
static interface |
CfnClusterParameterGroup.ParameterProperty
Describes a parameter in a cluster parameter group.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnClusterParameterGroup(Construct scope,
java.lang.String id,
CfnClusterParameterGroupProps props)
Create a new `AWS::Redshift::ClusterParameterGroup`.
|
protected |
CfnClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
The description of the parameter group.
|
java.lang.String |
getParameterGroupFamily()
The name of the cluster parameter group family that this cluster parameter group is compatible with.
|
java.lang.String |
getParameterGroupName()
The name of the cluster parameter group.
|
java.lang.Object |
getParameters()
An array of parameters to be modified.
|
TagManager |
getTags()
The list of tags for the cluster parameter group.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDescription(java.lang.String value)
The description of the parameter group.
|
void |
setParameterGroupFamily(java.lang.String value)
The name of the cluster parameter group family that this cluster parameter group is compatible with.
|
void |
setParameterGroupName(java.lang.String value)
The name of the cluster parameter group.
|
void |
setParameters(IResolvable value)
An array of parameters to be modified.
|
void |
setParameters(java.util.List<java.lang.Object> value)
An array of parameters to be modified.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnClusterParameterGroup(Construct scope, java.lang.String id, CfnClusterParameterGroupProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getParameterGroupFamily()
You can create a custom parameter group and then associate your cluster with it. For more information, see Amazon Redshift parameter groups .
public void setParameterGroupFamily(java.lang.String value)
You can create a custom parameter group and then associate your cluster with it. For more information, see Amazon Redshift parameter groups .
public java.lang.String getParameterGroupName()
public void setParameterGroupName(java.lang.String value)
public java.lang.Object getParameters()
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
public void setParameters(IResolvable value)
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.
public void setParameters(java.util.List<java.lang.Object> value)
For each parameter to be modified, you must supply at least the parameter name and parameter value; other name-value pairs of the parameter are optional.
For the workload management (WLM) configuration, you must supply all the name-value pairs in the wlm_json_configuration parameter.