Interface ICfnUserProps
Properties for defining a CfnUser
.
Namespace: Amazon.CDK.AWS.MemoryDB
Assembly: Amazon.CDK.AWS.MemoryDB.dll
Syntax (csharp)
public interface ICfnUserProps
Syntax (vb)
Public Interface ICfnUserProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MemoryDB;
var authenticationMode;
var cfnUserProps = new CfnUserProps {
UserName = "userName",
// the properties below are optional
AccessString = "accessString",
AuthenticationMode = authenticationMode,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
AccessString | Access permissions string used for this user. |
AuthenticationMode | Denotes whether the user requires a password to authenticate. |
Tags | An array of key-value pairs to apply to this resource. |
UserName | The name of the user. |
Properties
AccessString
Access permissions string used for this user.
virtual string AccessString { get; }
Property Value
System.String
Remarks
AuthenticationMode
Denotes whether the user requires a password to authenticate.
virtual object AuthenticationMode { get; }
Property Value
System.Object
Remarks
Example:
mynewdbuser: Type: AWS::MemoryDB::User Properties: AccessString: on ~* &* +@all AuthenticationMode: Passwords: '1234567890123456' Type: password UserName: mynewdbuser AuthenticationMode: { "Passwords": ["1234567890123456"], "Type": "Password" }
Tags
An array of key-value pairs to apply to this resource.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .
UserName
The name of the user.
string UserName { get; }
Property Value
System.String