aws-cdk-lib.aws_memorydb.CfnUserProps

interface CfnUserProps

LanguageType name
.NETAmazon.CDK.AWS.MemoryDB.CfnUserProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsmemorydb#CfnUserProps
Javasoftware.amazon.awscdk.services.memorydb.CfnUserProps
Pythonaws_cdk.aws_memorydb.CfnUserProps
TypeScript aws-cdk-lib » 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 { aws_memorydb as memorydb } from 'aws-cdk-lib';

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

NameTypeDescription
userNamestringThe name of the user.
accessString?stringAccess permissions string used for this user.
authenticationMode?anyDenotes whether the user requires a password to authenticate.
tags?CfnTag[]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: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag .