Skip to content

AccountProps

Properties for defining a Account.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-adblake-account

Initializer

import ros_cdk_adblake
ros_cdk_adblake.AccountProps(
  account_name: typing.Union[str, IResolvable],
  account_password: typing.Union[str, IResolvable],
  account_type: typing.Union[str, IResolvable],
  db_cluster_id: typing.Union[str, IResolvable],
  engine: typing.Union[str, IResolvable],
  account_description: typing.Union[str, IResolvable] = None,
  ram_user: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
account_name typing.Union[str, ros_cdk_core.IResolvable] Property accountName: The name of the account.The database account name must meet the following requirements:Start with a lowercase letter and end with a lowercase letter or number.Consists of lowercase letters, numbers, or underscores (_).The length is 2 to 16 characters.Reserved user names such as root, admin, and opsadmin cannot be used.
account_password typing.Union[str, ros_cdk_core.IResolvable] Property accountPassword: The password of the account.The password must meet the following requirements:Database account password.It consists of any three of uppercase letters, lowercase letters, numbers, and special characters.Special symbols include: !@#$%^&*()_+-=The password length is 8 to 32 characters.
account_type typing.Union[str, ros_cdk_core.IResolvable] Property accountType: The type of the account.Valid values: Normal: normal account. Super: super account.
db_cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property dbClusterId: The ID of the ADB Lake cluster.
engine typing.Union[str, ros_cdk_core.IResolvable] Property engine: The engine of the account.Valid values: AnalyticDB \/ Clickhouse.
account_description typing.Union[str, ros_cdk_core.IResolvable] Property accountDescription: The account description.
ram_user typing.Union[str, ros_cdk_core.IResolvable] Property ramUser: Bind the RAM user to the cluster database common account.

account_nameRequired

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

Property accountName: The name of the account.The database account name must meet the following requirements:Start with a lowercase letter and end with a lowercase letter or number.Consists of lowercase letters, numbers, or underscores (_).The length is 2 to 16 characters.Reserved user names such as root, admin, and opsadmin cannot be used.


account_passwordRequired

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

Property accountPassword: The password of the account.The password must meet the following requirements:Database account password.It consists of any three of uppercase letters, lowercase letters, numbers, and special characters.Special symbols include: !@#$%^&*()_+-=The password length is 8 to 32 characters.


account_typeRequired

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

Property accountType: The type of the account.Valid values: Normal: normal account. Super: super account.


db_cluster_idRequired

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

Property dbClusterId: The ID of the ADB Lake cluster.


engineRequired

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

Property engine: The engine of the account.Valid values: AnalyticDB \/ Clickhouse.


account_descriptionOptional

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

Property accountDescription: The account description.

  • Must not start with http:\/\/ or https:\/\/.
  • Be no longer than 256 characters.

ram_userOptional

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

Property ramUser: Bind the RAM user to the cluster database common account.