CfnUserProps

class aws_cdk.aws_memorydb.CfnUserProps(*, access_string, authentication_mode, tags=None, user_name)

Bases: object

Properties for defining a AWS::MemoryDB::User.

Parameters
  • access_string (str) – AWS::MemoryDB::User.AccessString.

  • authentication_mode (Any) – AWS::MemoryDB::User.AuthenticationMode.

  • tags (Optional[Sequence[CfnTag]]) – AWS::MemoryDB::User.Tags.

  • user_name (str) – AWS::MemoryDB::User.UserName.

Link

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_cdk.aws_memorydb as memorydb

# authentication_mode is of type object

cfn_user_props = memorydb.CfnUserProps(
    access_string="accessString",
    authentication_mode=authentication_mode,
    user_name="userName",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

access_string

AWS::MemoryDB::User.AccessString.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html#cfn-memorydb-user-accessstring

Return type

str

authentication_mode

AWS::MemoryDB::User.AuthenticationMode.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html#cfn-memorydb-user-authenticationmode

Return type

Any

tags

AWS::MemoryDB::User.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html#cfn-memorydb-user-tags

Return type

Optional[List[CfnTag]]

user_name

AWS::MemoryDB::User.UserName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html#cfn-memorydb-user-username

Return type

str