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: Specifies whether the required ApsaraDB RDS for MySQL instance is being created. |
dbInstType | string | @alicloud/ros-cdk-core.IResolvable | Property dbInstType: The type of the storage instances that are used by the PolarDB-X 1.0 database. Set the value to RDS. |
dbName | string | @alicloud/ros-cdk-core.IResolvable | Property dbName: Database Name. |
encode | string | @alicloud/ros-cdk-core.IResolvable | Property encode: The encoding method that is used by the database. |
instDbName | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | InstDbNameProperty[] | Property instDbName: List of databases. |
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: List of RDS instances. |
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: Specifies whether the required ApsaraDB RDS for MySQL instance is being created.
dbInstTypeOptional
public readonly dbInstType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbInstType: The type of the storage instances that are used by the PolarDB-X 1.0 database. Set the value to RDS.
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: The encoding method that is 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: List of databases.
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: List of RDS instances.
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.