CfnUserMixinProps
- class aws_cdk.mixins_preview.aws_memorydb.mixins.CfnUserMixinProps(*, access_string=None, authentication_mode=None, tags=None, user_name=None)
Bases:
objectProperties for CfnUserPropsMixin.
- Parameters:
access_string (
Optional[str]) – Access permissions string used for this user.authentication_mode (
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" }tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .user_name (
Optional[str]) – The name of the user.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # 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_memorydb import mixins as memorydb_mixins # authentication_mode: Any cfn_user_mixin_props = memorydb_mixins.CfnUserMixinProps( access_string="accessString", authentication_mode=authentication_mode, tags=[CfnTag( key="key", value="value" )], user_name="userName" )
Attributes
- access_string
Access permissions string used for this user.
- authentication_mode
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" }
- user_name
The name of the user.