Skip to content

LoginProfile

Source code in docs_src/capo_iam/types/login_profile.py
class LoginProfile(TypedDict, closed=True):
    user_name: "capo_iam.types.user_name_type.userNameType"
    """<p>The name of the user, which can be used for signing in to the Amazon Web Services Management Console.</p>"""
    create_date: "capo_iam.types.date_type.dateType"
    """<p>The date when the password for the user was created.</p>"""
    password_reset_required: "capo_iam.types.boolean_type.booleanType"
    """<p>Specifies whether the user is required to set a new password on next sign-in.</p>"""
    max_signin_session_duration: NotRequired[
        "capo_iam.types.max_signin_session_duration_type.maxSigninSessionDurationType"
    ]
    """<p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session that uses this login profile (the user name and password).</p> <p>This setting applies only to sessions created through OAuth-based flows (<code>signin:CreateOAuth2Token</code>). It does not affect Amazon Web Services Management Console browser sessions or traditional STS sessions.</p> <p>If no value is configured, the existing sign-in session behavior applies.</p>"""

create_date instance-attribute

create_date: dateType

The date when the password for the user was created.

max_signin_session_duration instance-attribute

max_signin_session_duration: NotRequired[maxSigninSessionDurationType]

The maximum duration (in seconds) of an Amazon Web Services Sign-In session that uses this login profile (the user name and password).

This setting applies only to sessions created through OAuth-based flows (signin:CreateOAuth2Token). It does not affect Amazon Web Services Management Console browser sessions or traditional STS sessions.

If no value is configured, the existing sign-in session behavior applies.

password_reset_required instance-attribute

password_reset_required: booleanType

Specifies whether the user is required to set a new password on next sign-in.

user_name instance-attribute

user_name: userNameType

The name of the user, which can be used for signing in to the Amazon Web Services Management Console.