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. |
drdsInstanceId
Required
public readonly drdsInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property drdsInstanceId: DRDS instance ID.
accountName
Optional
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.
dbInstanceIsCreating
Optional
public readonly dbInstanceIsCreating: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property dbInstanceIsCreating: Check whether the RDS instance is being created.
dbInstType
Optional
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
dbName
Optional
public readonly dbName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dbName: Database Name.
encode
Optional
public readonly encode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property encode: Encoding used by the database.
instDbName
Optional
public readonly instDbName: IResolvable | IResolvable | InstDbNameProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | InstDbNameProperty[]
Property instDbName:.
password
Optional
public readonly password: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property password: The logon password of the database instance.
rdsInstance
Optional
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.
type
Optional
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.