elasticache:ModifyServerlessCache

Write

elasticache:ModifyServerlessCache is a Write access-level action in the elasticache service. Grants permission to modify parameters for a serverless cache

Resource types

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

arn:${Partition}:elasticache:${Region}:${Account}:serverlesscache:${ServerlessCacheName} required
serverlesscache
arn:${Partition}:elasticache:${Region}:${Account}:usergroup:${UserGroupId}
usergroup

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

elasticache:DataStorageUnit String

Filters access by the CacheUsageLimits.DataStorage.Unit parameter in the CreateServerlessCache and ModifyServerlessCache request

elasticache:EngineVersion String

Filters access by the engineVersion parameter present in creation or cluster modification requests

elasticache:MaximumDataStorage Numeric

Filters access by the CacheUsageLimits.DataStorage.Maximum parameter in the CreateServerlessCache and ModifyServerlessCache request

elasticache:MaximumECPUPerSecond Numeric

Filters access by the CacheUsageLimits.ECPUPerSecond.Maximum parameter in the CreateServerlessCache and ModifyServerlessCache request

elasticache:MinimumDataStorage Numeric

Filters access by the CacheUsageLimits.DataStorage.Minimum parameter in the CreateServerlessCache and ModifyServerlessCache request

elasticache:MinimumECPUPerSecond Numeric

Filters access by the CacheUsageLimits.ECPUPerSecond.Minimum parameter in the CreateServerlessCache and ModifyServerlessCache request

elasticache:SnapshotRetentionLimit Numeric

Filters access by the SnapshotRetentionLimit parameter in the request

Example IAM policy

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

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

Related actions in elasticache

View all elasticache actions →