Interface CfnUserMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:59.135Z")
@Stability(Stable)
public interface CfnUserMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnUserPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.elasticache.*;
Object authenticationMode;
CfnUserMixinProps cfnUserMixinProps = CfnUserMixinProps.builder()
.accessString("accessString")
.authenticationMode(authenticationMode)
.engine("engine")
.noPasswordRequired(false)
.passwords(List.of("passwords"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userId("userId")
.userName("userName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserMixinPropsstatic final classAn implementation forCfnUserMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnUserMixinProps.Builderbuilder()default StringAccess permissions string used for this user.default ObjectSpecifies the authentication mode to use.default StringThe current supported values are valkey and redis.default ObjectIndicates a password is not required for this user.Passwords used for this user.getTags()The list of tags.default StringThe ID of the user.default StringThe username of the user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessString
Access permissions string used for this user.- See Also:
-
getAuthenticationMode
Specifies the authentication mode to use. Below is an example of the possible JSON values:.{ Passwords: ["*****", "******"] // If Type is password. }- See Also:
-
getEngine
The current supported values are valkey and redis.- See Also:
-
getNoPasswordRequired
Indicates a password is not required for this user.Returns union: either
BooleanorIResolvable- See Also:
-
getPasswords
Passwords used for this user.You can create up to two passwords for each user.
- See Also:
-
getTags
The list of tags.- See Also:
-
getUserId
The ID of the user.- See Also:
-
getUserName
The username of the user.- See Also:
-
builder
- Returns:
- a
CfnUserMixinProps.BuilderofCfnUserMixinProps
-