Interface CfnUserProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-19T18:01:35.097Z")
@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 class
A builder forCfnUserProps
static final class
An implementation forCfnUserProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnUserProps.Builder
builder()
default String
Access permissions string used for this user.default Object
Specifies the authentication mode to use.The current supported values are valkey and redis.default Object
Indicates 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.- 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.Builder
ofCfnUserProps
-