elasticache:CreateServerlessCacheSnapshot

Write

elasticache:CreateServerlessCacheSnapshot is a Write access-level action in the elasticache service. Grants permission to create a copy of a serverless cache at a specific moment in time

Resource types

ARNs that elasticache:CreateServerlessCacheSnapshot can be scoped to in an IAM policy.

arn:${Partition}:elasticache:${Region}:${Account}:serverlesscache:${ServerlessCacheName} required
serverlesscache
arn:${Partition}:elasticache:${Region}:${Account}:serverlesscachesnapshot:${ServerlessCacheSnapshotName} required
serverlesscachesnapshot

Condition keys

Keys you can use in the Condition block of a policy that grants elasticache:CreateServerlessCacheSnapshot.

aws:RequestTag/${TagKey} String

Filters actions based on the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters actions based on the tag keys that are passed in the request

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

elasticache:KmsKeyId String

Filters access by the Key ID of the KMS key

Example IAM policy

A minimal policy that allows elasticache:CreateServerlessCacheSnapshot. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowElasticacheCreateServerlessCacheSnapshot",
      "Effect": "Allow",
      "Action": "elasticache:CreateServerlessCacheSnapshot",
      "Resource": "*"
    }
  ]
}

Related actions in elasticache

View all elasticache actions →