Interface CfnUserProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.374Z")
@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.memorydb.*;
Object authenticationMode;
CfnUserProps cfnUserProps = CfnUserProps.builder()
.userName("userName")
// the properties below are optional
.accessString("accessString")
.authenticationMode(authenticationMode)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
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 ObjectDenotes whether the user requires a password to authenticate.getTags()An array of key-value pairs to apply to this resource.The name of the user.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUserName
The name of the user. -
getAccessString
Access permissions string used for this user. -
getAuthenticationMode
Denotes whether the user requires a password to authenticate.Example:
mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" } -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnUserProps.BuilderofCfnUserProps
-