AppUserProps
Properties for defining a AppUser
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-appuser
Initializer
import ros_cdk_sag
ros_cdk_sag.AppUserProps(
bandwidth: typing.Union[typing.Union[int, float], IResolvable],
smart_ag_id: typing.Union[str, IResolvable],
user_mail: typing.Union[str, IResolvable],
client_ip: typing.Union[str, IResolvable] = None,
disable: typing.Union[bool, IResolvable] = None,
password: typing.Union[str, IResolvable] = None,
user_name: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
bandwidth |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property bandwidth: The bandwidth. |
smart_ag_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property smartAgId: The ID of the SAG APP instance. |
user_mail |
typing.Union[str, ros_cdk_core.IResolvable] |
Property userMail: The email address of the user. |
client_ip |
typing.Union[str, ros_cdk_core.IResolvable] |
Property clientIp: After this feature is enabled, you must specify the IP address of SAG APP. |
disable |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property disable: Disable user or not. |
password |
typing.Union[str, ros_cdk_core.IResolvable] |
Property password: The password used to log on to SAG APP. |
user_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property userName: The username of the client account. |
bandwidth
Required
bandwidth: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property bandwidth: The bandwidth.
Unit: Kbit/s. Maximum bandwidth: 2,000 Kbit/s.
smart_ag_id
Required
smart_ag_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property smartAgId: The ID of the SAG APP instance.
user_mail
Required
user_mail: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property userMail: The email address of the user.
The username and password are sent to the specified email address.
client_ip
Optional
client_ip: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property clientIp: After this feature is enabled, you must specify the IP address of SAG APP.
In this case, SAG APP connects to Alibaba Cloud through the specified IP address. Note The IP address must fall into the CIDR block of the private network. After this feature is disabled, an IP address within the CIDR block of the private network is assigned to SAG APP. Each connection to Alibaba Cloud uses a different IP address.
disable
Optional
disable: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property disable: Disable user or not.
password
Optional
password: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property password: The password used to log on to SAG APP.
For a client account, if you specify the username, you must also specify the password.
user_name
Optional
user_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property userName: The username of the client account.
Usernames of client accounts added to the same SAG APP instance must be unique. For a client account, if you specify the username, you must also specify the password.