Skip to content

LoginProfileProps

Properties for defining a LoginProfile.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-loginprofile

Initializer

import ros_cdk_ram
ros_cdk_ram.LoginProfileProps(
  user_principal_name: typing.Union[str, IResolvable],
  generate_random_password: typing.Union[bool, IResolvable] = None,
  mfa_bind_required: typing.Union[bool, IResolvable] = None,
  password: typing.Union[str, IResolvable] = None,
  password_reset_required: typing.Union[bool, IResolvable] = None,
  status: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
user_principal_name typing.Union[str, ros_cdk_core.IResolvable] Property userPrincipalName: The login name of the RAM user.
generate_random_password typing.Union[bool, ros_cdk_core.IResolvable] Property generateRandomPassword: Whether to generate a random password for the RAM user.
mfa_bind_required typing.Union[bool, ros_cdk_core.IResolvable] Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication.
password typing.Union[str, ros_cdk_core.IResolvable] Property password: The password of the RAM user.
password_reset_required typing.Union[bool, ros_cdk_core.IResolvable] Property passwordResetRequired: Whether RAM users must reset their password the next time they log in.
status typing.Union[str, ros_cdk_core.IResolvable] Property status: Enable or disable console password login.

user_principal_nameRequired

user_principal_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property userPrincipalName: The login name of the RAM user.


generate_random_passwordOptional

generate_random_password: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property generateRandomPassword: Whether to generate a random password for the RAM user.


mfa_bind_requiredOptional

mfa_bind_required: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property mfaBindRequired: Whether to force RAM users to enable multi-factor authentication.

Valid values:

  • true: This is required. RAM users must bind the multifactor authentication device the next time they log in.
  • false (default) : This is not required.

passwordOptional

password: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property password: The password of the RAM user.


password_reset_requiredOptional

password_reset_required: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property passwordResetRequired: Whether RAM users must reset their password the next time they log in.


statusOptional

status: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property status: Enable or disable console password login.

Valid values:

  • Activate (default): Enable.
  • Inactivate: Disable.