elasticache:DeleteUser

Write

elasticache:DeleteUser is a Write access-level action in the elasticache service. Grants permission to delete an existing user and thus remove it from all user groups and replication groups where it was assigned

Resource types

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

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

Condition keys

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

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

Example IAM policy

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

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

Related actions in elasticache

View all elasticache actions →