interface CfnUserProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.MemoryDB.CfnUserProps | 
|  Java | software.amazon.awscdk.services.memorydb.CfnUserProps | 
|  Python | aws_cdk.aws_memorydb.CfnUserProps | 
|  TypeScript | @aws-cdk/aws-memorydb»CfnUserProps | 
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 * as memorydb from '@aws-cdk/aws-memorydb';
declare const authenticationMode: any;
const cfnUserProps: memorydb.CfnUserProps = {
  userName: 'userName',
  // the properties below are optional
  accessString: 'accessString',
  authenticationMode: authenticationMode,
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| user | string | The name of the user. | 
| access | string | Access permissions string used for this user. | 
| authentication | any | Denotes whether the user requires a password to authenticate. | 
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. | 
userName
Type:
string
The name of the user.
accessString?
Type:
string
(optional)
Access permissions string used for this user.
authenticationMode?
Type:
any
(optional)
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" }
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .
