interface CfnUserMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ElastiCache.Mixins.CfnUserMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awselasticache/mixins#CfnUserMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.elasticache.mixins.CfnUserMixinProps |
Python | aws_cdk.mixins_preview.aws_elasticache.mixins.CfnUserMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_elasticache » mixins » CfnUserMixinProps |
Properties for CfnUserPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as elasticache_mixins } from '@aws-cdk/mixins-preview/aws-elasticache';
declare const authenticationMode: any;
const cfnUserMixinProps: elasticache_mixins.CfnUserMixinProps = {
accessString: 'accessString',
authenticationMode: authenticationMode,
engine: 'engine',
noPasswordRequired: false,
passwords: ['passwords'],
tags: [{
key: 'key',
value: 'value',
}],
userId: 'userId',
userName: 'userName',
};
Properties
| Name | Type | Description |
|---|---|---|
| access | string | Access permissions string used for this user. |
| authentication | any | Specifies the authentication mode to use. Below is an example of the possible JSON values:. |
| engine? | string | The current supported values are valkey and redis. |
| no | boolean | IResolvable | Indicates a password is not required for this user. |
| passwords? | string[] | Passwords used for this user. |
| tags? | Cfn[] | The list of tags. |
| user | string | The ID of the user. |
| user | string | The username of the user. |
accessString?
Type:
string
(optional)
Access permissions string used for this user.
authenticationMode?
Type:
any
(optional)
Specifies the authentication mode to use. Below is an example of the possible JSON values:.
{ Passwords: ["*****", "******"] // If Type is password.
}
engine?
Type:
string
(optional)
The current supported values are valkey and redis.
noPasswordRequired?
Type:
boolean | IResolvable
(optional)
Indicates a password is not required for this user.
passwords?
Type:
string[]
(optional)
Passwords used for this user.
You can create up to two passwords for each user.
tags?
Type:
Cfn[]
(optional)
The list of tags.
userId?
Type:
string
(optional)
The ID of the user.
userName?
Type:
string
(optional)
The username of the user.

.NET
Go
Java
Python
TypeScript