user
Gets an individual user
resource
Overview
Name | user |
Type | Resource |
Description | user |
Id | awscc.elasticache.user |
Fields
Name | Datatype | Description |
---|---|---|
status | string | Indicates the user status. Can be "active", "modifying" or "deleting". |
user_id | string | The ID of the user. |
user_name | string | The username of the user. |
engine | string | Must be redis. |
access_string | string | Access permissions string used for this user account. |
no_password_required | boolean | Indicates a password is not required for this user account. |
passwords | array | Passwords used for this user account. You can create up to two passwords for each user. |
arn | string | The Amazon Resource Name (ARN) of the user account. |
authentication_mode | object | |
tags | array | An array of key-value pairs to apply to this user. |
region | string | AWS 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