Class CfnUserPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.memorydb.CfnUserPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPropsMixin>
- Enclosing class:
CfnUserPropsMixin
@Stability(Stable)
public static final class CfnUserPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPropsMixin>
A fluent builder for
CfnUserPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionaccessString(String accessString) Access permissions string used for this user.authenticationMode(Object authenticationMode) Denotes whether the user requires a password to authenticate.build()static CfnUserPropsMixin.Buildercreate()static CfnUserPropsMixin.Buildercreate(CfnPropertyMixinOptions options) An array of key-value pairs to apply to this resource.The name of the user.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnUserPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnUserPropsMixin.Builder.
-
accessString
Access permissions string used for this user.- Parameters:
accessString- Access permissions string used for this user. This parameter is required.- Returns:
this- See Also:
-
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" }- Parameters:
authenticationMode- Denotes whether the user requires a password to authenticate. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
userName
The name of the user.- Parameters:
userName- The name of the user. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPropsMixin>- Returns:
- a newly built instance of
CfnUserPropsMixin.
-