Class CfnUserPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.elasticache.mixins.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) Specifies the authentication mode to use.build()static CfnUserPropsMixin.Buildercreate()static CfnUserPropsMixin.Buildercreate(CfnPropertyMixinOptions options) The current supported values are valkey and redis.noPasswordRequired(Boolean noPasswordRequired) Indicates a password is not required for this user.noPasswordRequired(IResolvable noPasswordRequired) Indicates a password is not required for this user.Passwords used for this user.The list of tags.The ID of the user.The username 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
Specifies the authentication mode to use. Below is an example of the possible JSON values:.{ Passwords: ["*****", "******"] // If Type is password. }- Parameters:
authenticationMode- Specifies the authentication mode to use. Below is an example of the possible JSON values:. This parameter is required.- Returns:
this- See Also:
-
engine
The current supported values are valkey and redis.- Parameters:
engine- The current supported values are valkey and redis. This parameter is required.- Returns:
this- See Also:
-
noPasswordRequired
Indicates a password is not required for this user.- Parameters:
noPasswordRequired- Indicates a password is not required for this user. This parameter is required.- Returns:
this- See Also:
-
noPasswordRequired
@Stability(Stable) public CfnUserPropsMixin.Builder noPasswordRequired(IResolvable noPasswordRequired) Indicates a password is not required for this user.- Parameters:
noPasswordRequired- Indicates a password is not required for this user. This parameter is required.- Returns:
this- See Also:
-
passwords
Passwords used for this user.You can create up to two passwords for each user.
- Parameters:
passwords- Passwords used for this user. This parameter is required.- Returns:
this- See Also:
-
tags
The list of tags.- Parameters:
tags- The list of tags. This parameter is required.- Returns:
this- See Also:
-
userId
The ID of the user.- Parameters:
userId- The ID of the user. This parameter is required.- Returns:
this- See Also:
-
userName
The username of the user.- Parameters:
userName- The username 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.
-