Deleting an ElastiCache parameter group
You can delete a custom parameter group using the ElastiCache console, the Amazon CLI, or the ElastiCache API.
You cannot delete a parameter group if it is associated with any clusters. Nor can you delete any of the default parameter groups.
Deleting a parameter group (Console)
The following procedure shows how to delete a parameter group using the ElastiCache console.
To delete a parameter group using the ElastiCache console
-
Sign in to the Amazon Web Services Management Console and open the ElastiCache console at https://console.amazonaws.cn/elasticache/
. -
To see a list of all available parameter groups, in the left hand navigation pane choose Parameter Groups.
-
Choose the parameter groups you want to delete by choosing the box to the left of the parameter group's name.
The Delete button will become active.
-
Choose Delete.
The Delete Parameter Groups confirmation screen will appear.
-
To delete the parameter groups, on the Delete Parameter Groups confirmation screen, choose Delete.
To keep the parameter groups, choose Cancel.
Deleting a parameter group (Amazon CLI)
To delete a parameter group using the Amazon CLI, use the command
delete-cache-parameter-group
. For the parameter group to delete,
the parameter group specified by --cache-parameter-group-name
cannot
have any clusters associated with it, nor can it be a default parameter
group.
The following sample code deletes the myMem14 parameter group.
For Linux, OS X, or Unix:
aws elasticache delete-cache-parameter-group \ --cache-parameter-group-name
myRed28
For Windows:
aws elasticache delete-cache-parameter-group ^ --cache-parameter-group-name
myRed28
For more information, see delete-cache-parameter-group
.
Deleting a parameter group (ElastiCache API)
To delete a parameter group using the ElastiCache API, use the
DeleteCacheParameterGroup
action. For the parameter group to
delete, the parameter group specified by CacheParameterGroupName
cannot
have any clusters associated with it, nor can it be a default parameter
group.
The following sample code deletes the myRed28 parameter group.
https://elasticache.us-west-2.amazonaws.com/ ?Action=DeleteCacheParameterGroup &CacheParameterGroupName=
myRed28
&SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>
For more information, see DeleteCacheParameterGroup
.