elasticache:CreateCacheSubnetGroup

Write

elasticache:CreateCacheSubnetGroup is a Write access-level action in the elasticache service. Grants permission to create a cache subnet group

Resource types

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

arn:${Partition}:elasticache:${Region}:${Account}:subnetgroup:${CacheSubnetGroupName}
subnetgroup

Condition keys

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

aws:RequestTag/${TagKey} String

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

aws:ResourceTag/${TagKey} String

Filters actions based on the tags associated with the resource

aws:TagKeys ArrayOfString

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

Dependent actions

To use elasticache:CreateCacheSubnetGroup you may also need to grant:

Example IAM policy

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

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

Related actions in elasticache

View all elasticache actions →