CfnUserMixinProps
- class aws_cdk.mixins_preview.aws_elasticache.mixins.CfnUserMixinProps(*, access_string=None, authentication_mode=None, engine=None, no_password_required=None, passwords=None, tags=None, user_id=None, user_name=None)
Bases:
objectProperties for CfnUserPropsMixin.
- Parameters:
access_string (
Optional[str]) – Access permissions string used for this user.authentication_mode (
Any) – Specifies the authentication mode to use. Below is an example of the possible JSON values:. Example:: { Passwords: [”*”, “**”] // If Type is password. }engine (
Optional[str]) – The current supported values are valkey and redis.no_password_required (
Union[bool,IResolvable,None]) – Indicates a password is not required for this user.passwords (
Optional[Sequence[str]]) – Passwords used for this user. You can create up to two passwords for each user.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The list of tags.user_id (
Optional[str]) – The ID of the user.user_name (
Optional[str]) – The username of the user.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-user.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_elasticache import mixins as elasticache_mixins # authentication_mode: Any cfn_user_mixin_props = elasticache_mixins.CfnUserMixinProps( access_string="accessString", authentication_mode=authentication_mode, engine="engine", no_password_required=False, passwords=["passwords"], tags=[CfnTag( key="key", value="value" )], user_id="userId", user_name="userName" )
Attributes
- access_string
Access permissions string used for this user.
- authentication_mode
.
Example:
{ Passwords: ["*****", "******"] // If Type is password. }
- See:
- Type:
Specifies the authentication mode to use. Below is an example of the possible JSON values
- engine
The current supported values are valkey and redis.
- no_password_required
Indicates a password is not required for this user.
- passwords
Passwords used for this user.
You can create up to two passwords for each user.
- tags
The list of tags.
- user_id
The ID of the user.
- user_name
The username of the user.