AWS::ElastiCache::ParameterGroup - AWS CloudFormation

AWS::ElastiCache::ParameterGroup

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

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, ...}, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::ElastiCache::ParameterGroup Properties: CacheParameterGroupFamily: String Description: String Properties: Key: Value Tags: - Tag

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 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis7

Required: Yes

Type: String

Update requires: Replacement

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 example:

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

Required: No

Type: Object of String

Pattern: [a-zA-Z0-9]+

Update requires: No interruption

Tags

A tag that can be added to an ElastiCache parameter group. 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.

Required: No

Type: Array of Tag

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.

Fn::GetAtt

CacheParameterGroupName

A user-specified name for the cache parameter group.

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