| Modifier and Type | Method and Description |
|---|---|
CfnUser.Builder |
accessString(String accessString)
Access permissions string used for this user.
|
CfnUser.Builder |
authenticationMode(Object authenticationMode)
Denotes whether the user requires a password to authenticate.
|
CfnUser |
build() |
static CfnUser.Builder |
create(software.constructs.Construct scope,
String id) |
CfnUser.Builder |
tags(List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
CfnUser.Builder |
userName(String userName)
The name of the user.
|
@Stability(value=Stable) public static CfnUser.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnUser.Builder.@Stability(value=Stable) public CfnUser.Builder accessString(String accessString)
accessString - Access permissions string used for this user. This parameter is required.this@Stability(value=Stable) public CfnUser.Builder authenticationMode(Object authenticationMode)
Example:
mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
authenticationMode - Denotes whether the user requires a password to authenticate. This parameter is required.this@Stability(value=Stable) public CfnUser.Builder userName(String userName)
userName - The name of the user. This parameter is required.this@Stability(value=Stable) public CfnUser.Builder tags(List<? extends CfnTag> tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.thisCopyright © 2022. All rights reserved.