@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.985Z") @Stability(value=Stable) public class CfnParameterGroup extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnParameterGroup.Builder
A fluent builder for
CfnParameterGroup. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnParameterGroup(software.constructs.Construct scope,
String id,
CfnParameterGroupProps props)
Create a new `AWS::ElastiCache::ParameterGroup`.
|
protected |
CfnParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnParameterGroup(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheParameterGroupFamily()
The name of the cache parameter group family that this cache parameter group is compatible with.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
The description for this cache parameter group.
|
Object |
getProperties()
A comma-delimited list of parameter name/value pairs.
|
TagManager |
getTags()
A tag that can be added to an ElastiCache parameter group.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCacheParameterGroupFamily(String value)
The name of the cache parameter group family that this cache parameter group is compatible with.
|
void |
setDescription(String value)
The description for this cache parameter group.
|
void |
setProperties(IResolvable value)
A comma-delimited list of parameter name/value pairs.
|
void |
setProperties(Map<String,String> value)
A comma-delimited list of parameter name/value pairs.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnParameterGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnParameterGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnParameterGroup(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnParameterGroupProps 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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
Tags are composed of a Key/Value pair. You can use tags to categorize and track all your parameter groups. A tag with a null Value is permitted.
@Stability(value=Stable) @NotNull public String getCacheParameterGroupFamily()
Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x
@Stability(value=Stable)
public void setCacheParameterGroupFamily(@NotNull
String value)
Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x
@Stability(value=Stable) @NotNull public String getDescription()
@Stability(value=Stable)
public void setDescription(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getProperties()
For more information, see ModifyCacheParameterGroup in the Amazon ElastiCache API Reference Guide .
For example:
"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02"
}
@Stability(value=Stable)
public void setProperties(@Nullable
IResolvable value)
For more information, see ModifyCacheParameterGroup in the Amazon ElastiCache API Reference Guide .
For example:
"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02"
}
@Stability(value=Stable)
public void setProperties(@Nullable
Map<String,String> value)
For more information, see ModifyCacheParameterGroup in the Amazon ElastiCache API Reference Guide .
For example:
"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02"
}
Copyright © 2022. All rights reserved.