interface CfnUserProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.MemoryDB.CfnUserProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmemorydb#CfnUserProps |
Java | software.amazon.awscdk.services.memorydb.CfnUserProps |
Python | aws_cdk.aws_memorydb.CfnUserProps |
TypeScript | aws-cdk-lib » aws_memorydb » CfnUserProps |
Properties for defining a CfnUser
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html
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
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 .