elasticache:DeleteServerlessCache is a Write access-level action in the elasticache service. Grants permission to delete a serverless cache
ARNs that elasticache:DeleteServerlessCache can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants elasticache:DeleteServerlessCache.
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 CacheUsageLimits.DataStorage.Unit parameter in the CreateServerlessCache and ModifyServerlessCache 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 CacheUsageLimits.DataStorage.Maximum parameter in the CreateServerlessCache and ModifyServerlessCache request
Filters access by the CacheUsageLimits.ECPUPerSecond.Maximum parameter in the CreateServerlessCache and ModifyServerlessCache request
Filters access by the CacheUsageLimits.DataStorage.Minimum parameter in the CreateServerlessCache and ModifyServerlessCache request
Filters access by the CacheUsageLimits.ECPUPerSecond.Minimum parameter in the CreateServerlessCache and ModifyServerlessCache request
Filters access by the SnapshotRetentionLimit parameter in the request
To use elasticache:DeleteServerlessCache you may also need to grant:
A minimal policy that allows elasticache:DeleteServerlessCache. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowElasticacheDeleteServerlessCache",
"Effect": "Allow",
"Action": "elasticache:DeleteServerlessCache",
"Resource": "*"
}
]
}