Skip to main content

user

Gets an individual user resource

Overview

Nameuser
TypeResource
Descriptionuser
Idawscc.elasticache.user

Fields

NameDatatypeDescription
statusstringIndicates the user status. Can be "active", "modifying" or "deleting".
user_idstringThe ID of the user.
user_namestringThe username of the user.
enginestringMust be redis.
access_stringstringAccess permissions string used for this user account.
no_password_requiredbooleanIndicates a password is not required for this user account.
passwordsarrayPasswords used for this user account. You can create up to two passwords for each user.
arnstringThe Amazon Resource Name (ARN) of the user account.
authentication_modeobject
tagsarrayAn array of key-value pairs to apply to this user.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
status,
user_id,
user_name,
engine,
access_string,
no_password_required,
passwords,
arn,
authentication_mode,
tags
FROM awscc.elasticache.user
WHERE data__Identifier = '<UserId>';

Permissions

To operate on the user resource, the following permissions are required:

Read

elasticache:DescribeUsers,
elasticache:ListTagsForResource

Update

elasticache:ModifyUser,
elasticache:DescribeUsers,
elasticache:ListTagsForResource,
elasticache:AddTagsToResource,
elasticache:RemoveTagsFromResource

Delete

elasticache:DeleteUser,
elasticache:DescribeUsers