Class CfnClusterParameterGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.redshift.CfnClusterParameterGroup
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IClusterParameterGroupRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:28.134Z")
@Stability(Stable)
public class CfnClusterParameterGroup
extends CfnResource
implements IInspectable, IClusterParameterGroupRef, ITaggable
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnClusterParameterGroup.static interfaceDescribes a parameter in a cluster parameter group.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.redshift.IClusterParameterGroupRef
IClusterParameterGroupRef.Jsii$Default, IClusterParameterGroupRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) CfnClusterParameterGroup(software.constructs.Construct scope, String id, CfnClusterParameterGroupProps props) Create a newAWS::Redshift::ClusterParameterGroup. -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic IClusterParameterGroupReffromParameterGroupName(software.constructs.Construct scope, String id, String parameterGroupName) Creates a new IClusterParameterGroupRef from a parameterGroupName.A reference to a ClusterParameterGroup resource.The description of the parameter group.The name of the cluster parameter group family that this cluster parameter group is compatible with.The name of the cluster parameter group.An array of parameters to be modified.getTags()Tag Manager which manages the tags for this resource.The list of tags for the cluster parameter group.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnClusterParameterGroup.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the parameter group.voidsetParameterGroupFamily(String value) The name of the cluster parameter group family that this cluster parameter group is compatible with.voidsetParameterGroupName(String value) The name of the cluster parameter group.voidsetParameters(List<Object> value) An array of parameters to be modified.voidsetParameters(IResolvable value) An array of parameters to be modified.voidsetTagsRaw(List<CfnTag> value) The list of tags for the cluster parameter group.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnClusterParameterGroup
protected CfnClusterParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnClusterParameterGroup
protected CfnClusterParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnClusterParameterGroup
@Stability(Stable) public CfnClusterParameterGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnClusterParameterGroupProps props) Create a newAWS::Redshift::ClusterParameterGroup.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForClusterParameterGroup
@Stability(Stable) @NotNull public static String arnForClusterParameterGroup(@NotNull IClusterParameterGroupRef resource) - Parameters:
resource- This parameter is required.
-
fromParameterGroupName
@Stability(Stable) @NotNull public static IClusterParameterGroupRef fromParameterGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String parameterGroupName) Creates a new IClusterParameterGroupRef from a parameterGroupName.- Parameters:
scope- This parameter is required.id- This parameter is required.parameterGroupName- This parameter is required.
-
isCfnClusterParameterGroup
Checks whether the given object is a CfnClusterParameterGroup.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getClusterParameterGroupRef
A reference to a ClusterParameterGroup resource.- Specified by:
getClusterParameterGroupRefin interfaceIClusterParameterGroupRef
-
getTags
Tag Manager which manages the tags for this resource. -
getDescription
The description of the parameter group. -
setDescription
The description of the parameter group. -
getParameterGroupFamily
The name of the cluster parameter group family that this cluster parameter group is compatible with. -
setParameterGroupFamily
The name of the cluster parameter group family that this cluster parameter group is compatible with. -
getParameterGroupName
The name of the cluster parameter group. -
setParameterGroupName
The name of the cluster parameter group. -
getParameters
An array of parameters to be modified.A maximum of 20 parameters can be modified in a single request.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnClusterParameterGroup.ParameterProperty> -
setParameters
An array of parameters to be modified.A maximum of 20 parameters can be modified in a single request.
-
setParameters
An array of parameters to be modified.A maximum of 20 parameters can be modified in a single request.
-
getTagsRaw
The list of tags for the cluster parameter group. -
setTagsRaw
The list of tags for the cluster parameter group.
-