Skip to content

DrdsDBProps

Properties for defining a DrdsDB.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-drds-drdsdb

Initializer

import { DrdsDBProps } from '@alicloud/ros-cdk-drds'
const drdsDBProps: DrdsDBProps = { ... }

Properties

Name Type Description
drdsInstanceId string | @alicloud/ros-cdk-core.IResolvable Property drdsInstanceId: DRDS instance ID.
accountName string | @alicloud/ros-cdk-core.IResolvable Property accountName: In the vertical split scenario, an account name with access rights to the corresponding database on all RDSs.
dbInstanceIsCreating boolean | @alicloud/ros-cdk-core.IResolvable Property dbInstanceIsCreating: Check whether the RDS instance is being created.
dbInstType string | @alicloud/ros-cdk-core.IResolvable Property dbInstType: The type of the attached storage.
dbName string | @alicloud/ros-cdk-core.IResolvable Property dbName: Database Name.
encode string | @alicloud/ros-cdk-core.IResolvable Property encode: Encoding used by the database.
instDbName @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | InstDbNameProperty[] Property instDbName:.
password string | @alicloud/ros-cdk-core.IResolvable Property password: The logon password of the database instance.
rdsInstance @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property rdsInstance: This property is required only for vertical partitioning.
type string | @alicloud/ros-cdk-core.IResolvable Property type: Database Sharding method.

drdsInstanceIdRequired

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

Property drdsInstanceId: DRDS instance ID.


accountNameOptional

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

Property accountName: In the vertical split scenario, an account name with access rights to the corresponding database on all RDSs.


dbInstanceIsCreatingOptional

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

Property dbInstanceIsCreating: Check whether the RDS instance is being created.


dbInstTypeOptional

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

Property dbInstType: The type of the attached storage.

Valid values: RDS or POLARDB


dbNameOptional

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

Property dbName: Database Name.


encodeOptional

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

Property encode: Encoding used by the database.


instDbNameOptional

public readonly instDbName: IResolvable | IResolvable | InstDbNameProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | InstDbNameProperty[]

Property instDbName:.


passwordOptional

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

Property password: The logon password of the database instance.


rdsInstanceOptional

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

Property rdsInstance: This property is required only for vertical partitioning.


typeOptional

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

Property type: Database Sharding method.

For more information, see scalability principle. Valid values: HORIZONTAL: indicates HORIZONTAL partitioning, which is commonly known as database and table sharding. VERTICAL: indicates VERTICAL partitioning.