elasticache:CreateUserGroup

Write

elasticache:CreateUserGroup is a Write access-level action in the elasticache service. Grants permission to create a user group for Redis. Groups are supported from Redis 6.0 onwards

Resource types

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

arn:${Partition}:elasticache:${Region}:${Account}:user:${UserId}
user
arn:${Partition}:elasticache:${Region}:${Account}:usergroup:${UserGroupId}
usergroup

Condition keys

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

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

elasticache:UserAuthenticationMode String

Filters access by the UserAuthenticationMode parameter in the request

Dependent actions

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

Example IAM policy

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

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

Related actions in elasticache

View all elasticache actions →