AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::MemoryDB::User

CfnUser

Specifies a MemoryDB user. For more information, see [Authenticating users with Access Contol Lists (ACLs)](https://docs.aws.amazon.com/memorydb/latest/devguide/clusters.acls.html) .

Import

import { CfnUser } from 'aws-cdk-lib/aws-memorydb';

Or use the module namespace:

import * as memorydb from 'aws-cdk-lib/aws-memorydb';
// memorydb.CfnUser

Properties

Configuration passed to the constructor as CfnUserProps.

userNameRequired
string

The name of the user.

accessStringOptional
string

Access permissions string used for this user.

authenticationModeOptional
any

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" }`

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter