Menu
Amazon ElastiCache
User Guide (API Version 2015-02-02)

Listing Parameter Groups by Name

You can list the parameter groups using the ElastiCache console, the AWS CLI, or the ElastiCache API.

Listing Parameter Groups by Name (Console)

The following procedure shows how to view a list of the parameter groups using the ElastiCache console.

To list parameter groups using the ElastiCache console

  1. Sign in to the AWS Management Console and open the ElastiCache console at https://console.aws.amazon.com/elasticache/.

  2. In the left hand navigation pane, select Parameter Groups.

    The Parameter Groups screen will appear with a list of all available parameter groups. Each row in the list displays the parameter group's name, family, and description.

Listing Parameter Groups by Name (AWS CLI)

To generate a list of parameter groups using the AWS CLI, use the command describe-cache-parameter-groups. If you provide a parameter group's name, only that parameter group will be listed. If you do not provide a parameter group's name, up to --max-records parameter groups will be listed. In either case, the parameter group's name, family, and description are listed.

The following sample code lists the parameter group myRedis28.

For Linux, macOS, or Unix:

Copy
aws elasticache describe-cache-parameter-groups \ --cache-parameter-group-name myRedis28

For Windows:

Copy
aws elasticache describe-cache-parameter-groups ^ --cache-parameter-group-name myRedis28

The output of this command will look something like this, listing the name, family, and description for the parameter group.

Copy
CACHEPARAMETERGROUP myRedis28 redis2.8 My Redis 2.8 parameter group

The following sample code lists up to 10 parameter groups.

Copy
aws elasticache describe-cache-parameter-groups --max-records 10

The output of this command will look something like this, listing the name, family, and description for each parameter group.

Copy
CACHEPARAMETERGROUP myRedis28 redis2.8 My Redis 2.8 parameter group CACHEPARAMETERGROUP myMem14 memcached1.4 My Memcached 1.4 parameter group

For more information, see describe-cache-parameter-groups.

Listing Parameter Groups by Name (ElastiCache API)

To generate a list of parameter groups using the ElastiCache API, use the DescribeCacheParameterGroups action. If you provide a parameter group's name, only that parameter group will be listed. If you do not provide a parameter group's name, up to MaxRecords parameter groups will be listed. In either case, the parameter group's name, family, and description are listed.

The following sample code lists the parameter group myRedis28.

Copy
https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheParameterGroups &CacheParameterGroupName=myRedis28 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>

The response from this action will look something like this, listing the name, family, and description for each parameter group.

Copy
<DescribeCacheParameterGroupsResponse xmlns="http://elasticache.amazonaws.com/doc/2013-06-15/"> <DescribeCacheParameterGroupsResult> <CacheParameterGroups> <CacheParameterGroup> <CacheParameterGroupName>myRedis28</CacheParameterGroupName> <CacheParameterGroupFamily>redis 2.8</CacheParameterGroupFamily> <Description>My Redis 2.8 parameter group</Description> </CacheParameterGroup> </CacheParameterGroups> </DescribeCacheParameterGroupsResult> <ResponseMetadata> <RequestId>3540cc3d-af48-11e0-97f9-279771c4477e</RequestId> </ResponseMetadata> </DescribeCacheParameterGroupsResponse>

The following sample code lists up to 10 parameter groups.

Copy
https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheParameterGroups &MaxRecords=10 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>

The response from this action will look something like this, listing the name, family, and description for each parameter group.

Copy
<DescribeCacheParameterGroupsResponse xmlns="http://elasticache.amazonaws.com/doc/2013-06-15/"> <DescribeCacheParameterGroupsResult> <CacheParameterGroups> <CacheParameterGroup> <CacheParameterGroupName>myRedis28</CacheParameterGroupName> <CacheParameterGroupFamily>redis2.8</CacheParameterGroupFamily> <Description>My Redis 2.8 parameter group</Description> </CacheParameterGroup> <CacheParameterGroup> <CacheParameterGroupName>myMem14</CacheParameterGroupName> <CacheParameterGroupFamily>memcached1.4</CacheParameterGroupFamily> <Description>My Memcached 1.4 parameter group</Description> </CacheParameterGroup> </CacheParameterGroups> </DescribeCacheParameterGroupsResult> <ResponseMetadata> <RequestId>3540cc3d-af48-11e0-97f9-279771c4477e</RequestId> </ResponseMetadata> </DescribeCacheParameterGroupsResponse>

For more information, see DescribeCacheParameterGroups.