@Stability(value=Stable) public static final class CfnUserProps.Builder extends Object implements software.amazon.jsii.Builder<CfnUserProps>
CfnUserProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnUserProps.Builder |
accessString(String accessString)
Sets the value of
CfnUserProps.getAccessString() |
CfnUserProps.Builder |
authenticationMode(Object authenticationMode)
Sets the value of
CfnUserProps.getAuthenticationMode() |
CfnUserProps |
build()
Builds the configured instance.
|
CfnUserProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnUserProps.getTags() |
CfnUserProps.Builder |
userName(String userName)
Sets the value of
CfnUserProps.getUserName() |
@Stability(value=Stable) public CfnUserProps.Builder accessString(String accessString)
CfnUserProps.getAccessString()accessString - Access permissions string used for this user. This parameter is required.this@Stability(value=Stable) public CfnUserProps.Builder authenticationMode(Object authenticationMode)
CfnUserProps.getAuthenticationMode()authenticationMode - Denotes whether the user requires a password to authenticate. This parameter is required.
Example:
mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
this@Stability(value=Stable) public CfnUserProps.Builder userName(String userName)
CfnUserProps.getUserName()userName - The name of the user. This parameter is required.this@Stability(value=Stable) public CfnUserProps.Builder tags(List<? extends CfnTag> tags)
CfnUserProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnUserProps build()
build in interface software.amazon.jsii.Builder<CfnUserProps>CfnUserPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.