Skip to content

UserProps

Properties for defining a User.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsso-user

Initializer

import ros_cdk_cloudsso
ros_cdk_cloudsso.UserProps(
  directory_id: typing.Union[str, IResolvable],
  user_name: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  display_name: typing.Union[str, IResolvable] = None,
  email: typing.Union[str, IResolvable] = None,
  first_name: typing.Union[str, IResolvable] = None,
  last_name: typing.Union[str, IResolvable] = None,
  status: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
directory_id typing.Union[str, ros_cdk_core.IResolvable] Property directoryId: The ID of the directory.
user_name typing.Union[str, ros_cdk_core.IResolvable] Property userName: The name of the user.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the user.
display_name typing.Union[str, ros_cdk_core.IResolvable] Property displayName: The display name of the user.
email typing.Union[str, ros_cdk_core.IResolvable] Property email: The email address of the user.
first_name typing.Union[str, ros_cdk_core.IResolvable] Property firstName: The first name of the user.
last_name typing.Union[str, ros_cdk_core.IResolvable] Property lastName: The last name of the user.
status typing.Union[str, ros_cdk_core.IResolvable] Property status: The status of the user.

directory_idRequired

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

Property directoryId: The ID of the directory.


user_nameRequired

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

Property userName: The name of the user.

The name must be unique within the directory. The name cannot be changed. The name can contain numbers, letters, and the following special characters: @_-. The name can be up to 64 characters in length.


descriptionOptional

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

Property description: The description of the user.

The description can be up to 1,024 characters in length.


display_nameOptional

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

Property displayName: The display name of the user.

The name can be up to 256 characters in length.


emailOptional

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

Property email: The email address of the user.

The email address must be unique within the directory. The email address can be up to 128 characters in length.


first_nameOptional

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

Property firstName: The first name of the user.

The name can be up to 64 characters in length.


last_nameOptional

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

Property lastName: The last name of the user.

The name can be up to 64 characters in length.


statusOptional

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

Property status: The status of the user.

Valid values:

  • Enabled: The logon of the user is enabled. This is the default value.
  • Disabled: The logon of the user is disabled.