AccountProps
Properties for defining a Account.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gpdb-account
Initializer
import { AccountProps } from '@alicloud/ros-cdk-gpdb'
const accountProps: AccountProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
accountName | string | @alicloud/ros-cdk-core.IResolvable | Property accountName: The name of the privileged account. |
accountPassword | string | @alicloud/ros-cdk-core.IResolvable | Property accountPassword: The password of the privileged account. |
dbInstanceId | string | @alicloud/ros-cdk-core.IResolvable | Property dbInstanceId: The ID of the instance. |
accountDescription | string | @alicloud/ros-cdk-core.IResolvable | Property accountDescription: The description of the privileged account. |
accountType | string | @alicloud/ros-cdk-core.IResolvable | Property accountType: Default value is Super, which creates a privileged account. |
accountNameRequired
public readonly accountName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accountName: The name of the privileged account.
The name can contain lowercase letters, digits, and underscores (_). The name must start with a lowercase letter and end with a lowercase letter or a digit. The name cannot start with gp. The name must be 2 to 16 characters in length.
accountPasswordRequired
public readonly accountPassword: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accountPassword: The password of the privileged account.
The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include ! @ # $ % ^ & * ( ) _ + - = The password must be 8 to 32 characters in length.
dbInstanceIdRequired
public readonly dbInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbInstanceId: The ID of the instance.
Note You can call the DescribeDBInstances operation to query details of all AnalyticDB for PostgreSQL instances in a specific region, including instance IDs.
accountDescriptionOptional
public readonly accountDescription: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accountDescription: The description of the privileged account.
accountTypeOptional
public readonly accountType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property accountType: Default value is Super, which creates a privileged account.
When the parameter is Normal, it creates a normal account.