The Delete ElastiCache Clusters action will delete all ElastiCache clusters matching a specified filter.
For example, at 8am, all ElastiCache clusters ending in "-dev" can be deleted.
The Delete ElastiCache Clusters action includes a "test mode" as a way of determining which items will be deleted without actually deleting the items. This way, you can fine tune your action without concern for deleting the wrong items. Test Mode is on by default.
When test mode is enabled, execute your action normally then check the action logs to verify that only items that should have been deleted would have been deleted, and that items that should not have been deleted would not have been deleted.
When you are satisfied, disable Test Mode.
Please see Common Action Settings for a description of settings common to all action types.
Cluster Identification Method
Indicates how the ElastiCache clusters will be selected. Valid values are:
- By ElastiCache Cluster ID - Specify a cluster ID to delete
- All ElastiCache Clusters - All ElastiCache clusters will be deleted
ElastiCache Cluster ID
Indicates the ElastiCache cluster ID that will be deleted. Required if Cluster Identification Method is set to "By ElastiCache Cluster ID". This cluster must exist in the region specified.
Enables and disabled Test Mode (see above).
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.