AWS::MemoryDB::User
Specifies a MemoryDB user. For more information, see Authenticating users with Access Contol Lists (ACLs).
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::MemoryDB::User", "Properties" : { "AccessString" :
String
, "AuthenticationMode" :AuthenticationMode
, "Tags" :[ Tag, ... ]
, "UserName" :String
} }
YAML
Type: AWS::MemoryDB::User Properties: AccessString:
String
AuthenticationMode:AuthenticationMode
Tags:- Tag
UserName:String
Properties
AccessString
-
Access permissions string used for this user.
Required: No
Type: String
Update requires: No interruption
AuthenticationMode
-
Denotes whether the user requires a password to authenticate.
Example:
mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
Required: No
Type: AuthenticationMode
Update requires: No interruption
-
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Required: No
Type: Array of Tag
Maximum:
50
Update requires: No interruption
UserName
-
The name of the user.
Required: Yes
Type: String
Pattern:
[a-z][a-z0-9\\-]*
Update requires: Replacement
Return values
Fn::GetAtt
Arn
-
When you pass the logical ID of this resource to the intrinsic
Ref
function, Ref returns the ARN of the user, such asarn:aws:memorydb:us-east-1:123456789012:user/user1
Status
-
Indicates the user status.
Valid values:
active
|modifying
|deleting