Interface CfnUserProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:36.429Z")
@Stability(Stable)
public interface CfnUserProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnUser.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticache.*;
Object authenticationMode;
CfnUserProps cfnUserProps = CfnUserProps.builder()
.engine("engine")
.userId("userId")
.userName("userName")
// the properties below are optional
.accessString("accessString")
.authenticationMode(authenticationMode)
.noPasswordRequired(false)
.passwords(List.of("passwords"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPropsstatic final classAn implementation forCfnUserProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnUserProps.Builderbuilder()default StringAccess permissions string used for this user.default ObjectSpecifies the authentication mode to use.The 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.The ID of the user.The username of the user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEngine
The current supported values are valkey and redis.- See Also:
-
getUserId
The ID of the user.- See Also:
-
getUserName
The username of the user.- See Also:
-
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:
-
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:
-
builder
- Returns:
- a
CfnUserProps.BuilderofCfnUserProps
-