@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.013Z") @Stability(value=Stable) public interface CfnUserProps extends software.amazon.jsii.JsiiSerializable
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.*;
CfnUserProps cfnUserProps = CfnUserProps.builder()
.engine("engine")
.userId("userId")
.userName("userName")
// the properties below are optional
.accessString("accessString")
.noPasswordRequired(false)
.passwords(List.of("passwords"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnUserProps.Builder
A builder for
CfnUserProps |
static class |
CfnUserProps.Jsii$Proxy
An implementation for
CfnUserProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnUserProps.Builder |
builder() |
default String |
getAccessString()
Access permissions string used for this user.
|
String |
getEngine()
The current supported value is redis.
|
default Object |
getNoPasswordRequired()
Indicates a password is not required for this user.
|
default List<String> |
getPasswords()
Passwords used for this user.
|
String |
getUserId()
The ID of the user.
|
String |
getUserName()
The username of the user.
|
@Stability(value=Stable) @NotNull String getEngine()
@Stability(value=Stable) @NotNull String getUserId()
@Stability(value=Stable) @NotNull String getUserName()
@Stability(value=Stable) @Nullable default String getAccessString()
@Stability(value=Stable) @Nullable default Object getNoPasswordRequired()
@Stability(value=Stable) @Nullable default List<String> getPasswords()
You can create up to two passwords for each user.
@Stability(value=Stable) static CfnUserProps.Builder builder()
CfnUserProps.Builder of CfnUserPropsCopyright © 2022. All rights reserved.