Skip to content

AccountProps

Properties for defining a Account.

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

Initializer

import { AccountProps } from '@alicloud/ros-cdk-adblake'
const accountProps: AccountProps = { ... }

Properties

Name Type Description
accountName string | @alicloud/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.
accountPassword string | @alicloud/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.
accountType string | @alicloud/ros-cdk-core.IResolvable Property accountType: The type of the account.Valid values: Normal: normal account. Super: super account.
dbClusterId string | @alicloud/ros-cdk-core.IResolvable Property dbClusterId: The ID of the ADB Lake cluster.
engine string | @alicloud/ros-cdk-core.IResolvable Property engine: The engine of the account.Valid values: AnalyticDB \/ Clickhouse.
accountDescription string | @alicloud/ros-cdk-core.IResolvable Property accountDescription: The account description.
ramUser string | @alicloud/ros-cdk-core.IResolvable Property ramUser: Bind the RAM user to the cluster database common account.

accountNameRequired

public readonly accountName: string | IResolvable;
  • Type: string | @alicloud/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.


accountPasswordRequired

public readonly accountPassword: string | IResolvable;
  • Type: string | @alicloud/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.


accountTypeRequired

public readonly accountType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


dbClusterIdRequired

public readonly dbClusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dbClusterId: The ID of the ADB Lake cluster.


engineRequired

public readonly engine: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


accountDescriptionOptional

public readonly accountDescription: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property accountDescription: The account description.

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


ramUserOptional

public readonly ramUser: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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