Skip to content

AccountProps

Properties for defining a Account.

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

Initializer

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

Properties

Name Type Description
accountName string | @alicloud/ros-cdk-core.IResolvable Property accountName: The name of the account.
accountPassword string | @alicloud/ros-cdk-core.IResolvable Property accountPassword: The password of the account.
dbClusterId string | @alicloud/ros-cdk-core.IResolvable Property dbClusterId: The ID of the cluster.
accountDescription string | @alicloud/ros-cdk-core.IResolvable Property accountDescription: The description of the account.
accountType string | @alicloud/ros-cdk-core.IResolvable Property accountType: Normal: standard account Super: privileged account.

accountNameRequired

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

Property accountName: The name of the account.


accountPasswordRequired

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

Property accountPassword: The password of the account.

The password must contain uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * () _ + - and = The password must be 8 to 32 characters in length.


dbClusterIdRequired

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

Property dbClusterId: The ID of the cluster.


accountDescriptionOptional

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


accountTypeOptional

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

Property accountType: Normal: standard account Super: privileged account.