Class CfnParameterGroup
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.elasticache.CfnParameterGroup
- All Implemented Interfaces:
IInspectable,IParameterGroupRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:04.900Z")
@Stability(Stable)
public class CfnParameterGroup
extends CfnResource
implements IInspectable, IParameterGroupRef, ITaggable
The
AWS::ElastiCache::ParameterGroup type creates a new cache parameter group.
Cache parameter groups control the parameters for a cache cluster.
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.elasticache.*;
CfnParameterGroup cfnParameterGroup = CfnParameterGroup.Builder.create(this, "MyCfnParameterGroup")
.cacheParameterGroupFamily("cacheParameterGroupFamily")
.description("description")
// the properties below are optional
.properties(Map.of(
"propertiesKey", "properties"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested 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.interfaces.elasticache.IParameterGroupRef
IParameterGroupRef.Jsii$Default, IParameterGroupRef.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
ConstructorsModifierConstructorDescriptionprotectedCfnParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) CfnParameterGroup(software.constructs.Construct scope, String id, CfnParameterGroupProps props) Create a newAWS::ElastiCache::ParameterGroup. -
Method Summary
Modifier and TypeMethodDescriptionstatic IParameterGroupReffromCacheParameterGroupName(software.constructs.Construct scope, String id, String cacheParameterGroupName) Creates a new IParameterGroupRef from a cacheParameterGroupName.A user-specified name for the cache parameter group.The name of the cache parameter group family that this cache parameter group is compatible with.The description for this cache parameter group.A reference to a ParameterGroup resource.A comma-delimited list of parameter name/value pairs.getTags()Tag Manager which manages the tags for this resource.A tag that can be added to an ElastiCache parameter group.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe name of the cache parameter group family that this cache parameter group is compatible with.voidsetDescription(String value) The description for this cache parameter group.voidsetProperties(Map<String, String> value) A comma-delimited list of parameter name/value pairs.voidsetProperties(IResolvable value) A comma-delimited list of parameter name/value pairs.voidsetTagsRaw(List<CfnTag> value) A tag that can be added to an ElastiCache 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
-
CfnParameterGroup
protected CfnParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnParameterGroup
protected CfnParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnParameterGroup
@Stability(Stable) public CfnParameterGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnParameterGroupProps props) Create a newAWS::ElastiCache::ParameterGroup.- 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
-
fromCacheParameterGroupName
@Stability(Stable) @NotNull public static IParameterGroupRef fromCacheParameterGroupName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String cacheParameterGroupName) Creates a new IParameterGroupRef from a cacheParameterGroupName.- Parameters:
scope- This parameter is required.id- This parameter is required.cacheParameterGroupName- 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.
-
getAttrCacheParameterGroupName
A user-specified name for the cache parameter group. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getParameterGroupRef
A reference to a ParameterGroup resource.- Specified by:
getParameterGroupRefin interfaceIParameterGroupRef
-
getTags
Tag Manager which manages the tags for this resource. -
getCacheParameterGroupFamily
The name of the cache parameter group family that this cache parameter group is compatible with. -
setCacheParameterGroupFamily
The name of the cache parameter group family that this cache parameter group is compatible with. -
getDescription
The description for this cache parameter group. -
setDescription
The description for this cache parameter group. -
getProperties
A comma-delimited list of parameter name/value pairs.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable -
setProperties
A comma-delimited list of parameter name/value pairs. -
setProperties
A comma-delimited list of parameter name/value pairs. -
getTagsRaw
A tag that can be added to an ElastiCache parameter group. -
setTagsRaw
A tag that can be added to an ElastiCache parameter group.
-