UserProps
Properties for defining a User
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-user
Initializer
import ros_cdk_ram
ros_cdk_ram.UserProps(
user_name: typing.Union[str, IResolvable],
comments: typing.Union[str, IResolvable] = None,
deletion_force: typing.Union[bool, IResolvable] = None,
display_name: typing.Union[str, IResolvable] = None,
email: typing.Union[str, IResolvable] = None,
groups: typing.Union[typing.List[typing.Any], IResolvable] = None,
login_profile: typing.Union[IResolvable, LoginProfileProperty] = None,
mobile_phone: typing.Union[str, IResolvable] = None,
policies: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, PoliciesProperty]]] = None,
policy_attachments: typing.Union[IResolvable, PolicyAttachmentsProperty] = None
)
Properties
Name | Type | Description |
---|---|---|
user_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property userName: Specifies the user name, containing up to 64 characters. |
comments |
typing.Union[str, ros_cdk_core.IResolvable] |
Property comments: Comments of ram user. |
deletion_force |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property deletionForce: Whether force detach the policies and groups attached to the user. |
display_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property displayName: Display name, up to 128 characters or Chinese characters. |
email |
typing.Union[str, ros_cdk_core.IResolvable] |
Property email: Email of ram user. |
groups |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property groups: A name of a group to which you want to add the user. |
login_profile |
typing.Union[ros_cdk_core.IResolvable, LoginProfileProperty] |
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console. |
mobile_phone |
typing.Union[str, ros_cdk_core.IResolvable] |
Property mobilePhone: Phone number of ram user. |
policies |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, PoliciesProperty]]] |
Property policies: Describes what actions are allowed on what resources. |
policy_attachments |
typing.Union[ros_cdk_core.IResolvable, PolicyAttachmentsProperty] |
Property policyAttachments: System and custom policy names to attach. |
user_name
Required
user_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property userName: Specifies the user name, containing up to 64 characters.
comments
Optional
comments: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property comments: Comments of ram user.
deletion_force
Optional
deletion_force: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property deletionForce: Whether force detach the policies and groups attached to the user.
Default value is false.
display_name
Optional
display_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property displayName: Display name, up to 128 characters or Chinese characters.
email
Optional
email: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property email: Email of ram user.
groups
Optional
groups: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property groups: A name of a group to which you want to add the user.
login_profile
Optional
login_profile: typing.Union[IResolvable, LoginProfileProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, LoginProfileProperty]
Property loginProfile: Creates a login profile for users so that they can access the AliCloud Management Console.
mobile_phone
Optional
mobile_phone: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property mobilePhone: Phone number of ram user.
policies
Optional
policies: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, PoliciesProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, PoliciesProperty]]]
Property policies: Describes what actions are allowed on what resources.
policy_attachments
Optional
policy_attachments: typing.Union[IResolvable, PolicyAttachmentsProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, PolicyAttachmentsProperty]
Property policyAttachments: System and custom policy names to attach.