AWS CloudFormation
User Guide (Version )

AWS::ElastiCache::ParameterGroup

The AWS::ElastiCache::ParameterGroup type creates a new cache parameter group. Cache parameter groups control the parameters for a cache cluster.

Note

Updates are not supported.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::ElastiCache::ParameterGroup", "Properties" : { "CacheParameterGroupFamily" : String, "Description" : String, "Properties" : {Key : Value, ...} } }

YAML

Type: AWS::ElastiCache::ParameterGroup Properties: CacheParameterGroupFamily: String Description: String Properties: Key : Value

Properties

CacheParameterGroupFamily

The name of the cache parameter group family that this cache parameter group is compatible with.

Valid values are: memcached1.4 | memcached1.5 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 |

Required: Yes

Type: String

Update requires: No interruption

Description

The description for this cache parameter group.

Required: Yes

Type: String

Update requires: No interruption

Properties

A comma-delimited list of parameter name/value pairs. For more information, see ModifyCacheParameterGroup in the Amazon ElastiCache API Reference Guide.

For example:

"Properties" : { "cas_disabled" : "1", "chunk_size_growth_factor" : "1.02" }

Required: No

Type: Map of String

Update requires: No interruption

Return Values

Ref

When the logical ID of this resource is provided to the Ref intrinsic function, Ref returns the resource name.

For more information about using the Ref function, see Ref.

Examples

JSON

{ "MyParameterGroup": { "Type": "AWS::ElastiCache::ParameterGroup", "Properties": { "Description": "MyNewParameterGroup", "CacheParameterGroupFamily": "memcached1.4", "Properties": { "cas_disabled": "1", "chunk_size_growth_factor": "1.02" } } } }

YAML

MyParameterGroup: Type: 'AWS::ElastiCache::ParameterGroup' Properties: Description: MyNewParameterGroup CacheParameterGroupFamily: memcached1.4 Properties: cas_disabled: '1' chunk_size_growth_factor: '1.02'

See Also