AccountProps
Properties for defining a Account
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rds-account
Initializer
import ros_cdk_rds
ros_cdk_rds.AccountProps(
account_name: typing.Union[str, IResolvable],
account_password: typing.Union[str, IResolvable],
db_instance_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: Account name, which must be unique and meet the following requirements: Start with a letter; |
account_password |
typing.Union[str, ros_cdk_core.IResolvable] |
Property accountPassword: The account password for the database instance. |
db_instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbInstanceId: RDS instance ID. |
account_description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property accountDescription: Account remarks. |
account_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property accountType: Privilege type of account. |
account_name
Required
account_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountName: Account name, which must be unique and meet the following requirements: Start with a letter;
Consist of lower-case letters, digits, and underscores (_); Length: MySQL 8.0 and 5.7: 2-32 characters. MySQL 5.6ćMariaDB and PostgreSQL Local version: 2-16 characters. SQL Server: 2-64 characters. PostgreSQL Cloud version: 2-63 characters.
account_password
Required
account_password: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountPassword: The account password for the database instance.
It may consist of letters, digits, or underlines, with a length of 8 to 32 characters.
db_instance_id
Required
db_instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbInstanceId: RDS instance ID.
account_description
Optional
account_description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountDescription: Account remarks.
It cannot begin with http:// or https://. It must start with a Chinese character or English letter. It can include Chinese and English characters/letters, underscores (_), hyphens (-), and digits. The length may be 2-256 characters.
account_type
Optional
account_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountType: Privilege type of account.
Normal: Common privilege. Super: High privilege. And the default value is Normal. Sysadmin: Super privileges (SA) (only supported by SQL Server) This parameter is valid for MySQL 5.5/5.6 only. MySQL 5.7, SQL Server 2012/2016, PostgreSQL, and PPAS each can have only one initial account. Other accounts are created by the initial account that has logged on to the database.