Skip to content

CreateUserMessage

Source code in docs_src/capo_elasticache/types/create_user_message.py
class CreateUserMessage(TypedDict, closed=True):
    user_id: NotRequired["capo_elasticache.types.user_id.UserId"]
    """<p>The ID of the user. This value is stored as a lowercase string.</p>"""
    user_name: NotRequired["capo_elasticache.types.user_name.UserName"]
    """<p>The username of the user.</p>"""
    engine: NotRequired["capo_elasticache.types.engine_type.EngineType"]
    """<p>The options are valkey or redis. </p>"""
    passwords: NotRequired[
        "capo_elasticache.types.password_list_input.PasswordListInput"
    ]
    """<p>Passwords used for this user. You can create up to two passwords for each user.</p>"""
    access_string: NotRequired["capo_elasticache.types.access_string.AccessString"]
    """<p>Access permissions string used for this user.</p>"""
    no_password_required: NotRequired[
        "capo_elasticache.types.boolean_optional.BooleanOptional"
    ]
    """<p>Indicates a password is not required for this user.</p>"""
    tags: NotRequired["capo_elasticache.types.tag_list.TagList"]
    """<p>A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.</p>"""
    authentication_mode: NotRequired[
        "capo_elasticache.types.authentication_mode.AuthenticationMode"
    ]
    """<p>Specifies how to authenticate the user.</p>"""

access_string instance-attribute

access_string: NotRequired[AccessString]

Access permissions string used for this user.

authentication_mode instance-attribute

authentication_mode: NotRequired[AuthenticationMode]

Specifies how to authenticate the user.

engine instance-attribute

engine: NotRequired[EngineType]

The options are valkey or redis.

no_password_required instance-attribute

no_password_required: NotRequired[BooleanOptional]

Indicates a password is not required for this user.

passwords instance-attribute

passwords: NotRequired[PasswordListInput]

Passwords used for this user. You can create up to two passwords for each user.

tags instance-attribute

tags: NotRequired[TagList]

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

user_id instance-attribute

user_id: NotRequired[UserId]

The ID of the user. This value is stored as a lowercase string.

user_name instance-attribute

user_name: NotRequired[UserName]

The username of the user.