elasticache:DeleteCacheCluster is a Write access-level action in the elasticache service. Grants permission to delete a previously provisioned cluster
ARNs that elasticache:DeleteCacheCluster can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants elasticache:DeleteCacheCluster.
Filters actions based on the tags that are passed in the request
Filters actions based on the tags associated with the resource
Filters actions based on the tag keys that are passed in the request
Filters access by the presence of non empty AuthToken parameter in the request
Filters access by the cacheNodeType parameter present in the request. This key can be used to restrict which cache node types can be used on cluster creation or scaling operations
Filters access by the CacheParameterGroupName parameter in the request
Filters access by the engine type present in creation requests. For replication group creations, default engine 'redis' is used as key if parameter is not present
Filters access by the engineVersion parameter present in creation or cluster modification requests
Filters access by the Key ID of the KMS key
Filters access by the AZMode parameter, MultiAZEnabled parameter or the number of availability zones that the cluster or replication group can be placed in
Filters access by the SnapshotRetentionLimit parameter in the request
To use elasticache:DeleteCacheCluster you may also need to grant:
A minimal policy that allows elasticache:DeleteCacheCluster. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowElasticacheDeleteCacheCluster",
"Effect": "Allow",
"Action": "elasticache:DeleteCacheCluster",
"Resource": "*"
}
]
}