@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.966Z") @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.memorydb.*;
Object authenticationMode;
CfnUserProps cfnUserProps = CfnUserProps.builder()
.accessString("accessString")
.authenticationMode(authenticationMode)
.userName("userName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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() |
String |
getAccessString()
Access permissions string used for this user.
|
Object |
getAuthenticationMode()
Denotes whether the user requires a password to authenticate.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
String |
getUserName()
The name of the user.
|
@Stability(value=Stable) @NotNull String getAccessString()
@Stability(value=Stable) @NotNull Object getAuthenticationMode()
Example:
mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
@Stability(value=Stable) @NotNull String getUserName()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnUserProps.Builder builder()
CfnUserProps.Builder of CfnUserPropsCopyright © 2022. All rights reserved.