Interface CfnUserProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:25:02.457Z")
@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();
- See Also:
-
Nested Class Summary
Modifier 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
Denotes 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.- See Also:
-
getAccessString
Access permissions string used for this user.- See Also:
-
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" }
- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnUserProps.Builder
ofCfnUserProps
-