AccountProps
Properties for defining a Account.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-adb-account
Initializer
import ros_cdk_adb
ros_cdk_adb.AccountProps(
account_name: typing.Union[str, IResolvable],
account_password: typing.Union[str, IResolvable],
db_cluster_id: typing.Union[str, IResolvable],
account_description: typing.Union[str, IResolvable] = None,
account_type: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
account_name | typing.Union[str, ros_cdk_core.IResolvable] | Property accountName: The database account name. |
account_password | typing.Union[str, ros_cdk_core.IResolvable] | Property accountPassword: The database account password. |
db_cluster_id | typing.Union[str, ros_cdk_core.IResolvable] | Property dbClusterId: The ID of the cluster. |
account_description | typing.Union[str, ros_cdk_core.IResolvable] | Property accountDescription: The description of the account. |
account_type | typing.Union[str, ros_cdk_core.IResolvable] | Property accountType: Normal: standard account Super: privileged account. |
account_nameRequired
account_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountName: The database account name.
The name must meet the following requirements:
- Start with a lowercase letter and end with a lowercase letter or digit.
- Contain only lowercase letters, digits, or underscores (_).
- Be 2 to 16 characters long.
- Not use reserved usernames such as root, admin, or opsadmin.
account_passwordRequired
account_password: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountPassword: The database account password.
- Use any three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
- Special characters include the following:
!@#$%^&*()_+-= - Be 8 to 32 characters long.
db_cluster_idRequired
db_cluster_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbClusterId: The ID of the cluster.
account_descriptionOptional
account_description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountDescription: The description of the account.
The description cannot start with http://or https://. The description can be up to 256 characters in length.
account_typeOptional
account_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountType: Normal: standard account Super: privileged account.