DrdsDBProps
Properties for defining a DrdsDB
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-drds-drdsdb
Initializer
import ros_cdk_drds
ros_cdk_drds.DrdsDBProps(
drds_instance_id: typing.Union[str, IResolvable],
account_name: typing.Union[str, IResolvable] = None,
db_instance_is_creating: typing.Union[bool, IResolvable] = None,
db_inst_type: typing.Union[str, IResolvable] = None,
db_name: typing.Union[str, IResolvable] = None,
encode: typing.Union[str, IResolvable] = None,
inst_db_name: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, InstDbNameProperty]]] = None,
password: typing.Union[str, IResolvable] = None,
rds_instance: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
type: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
drds_instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property drdsInstanceId: DRDS instance ID. |
account_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property accountName: In the vertical split scenario, an account name with access rights to the corresponding database on all RDSs. |
db_instance_is_creating |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property dbInstanceIsCreating: Check whether the RDS instance is being created. |
db_inst_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbInstType: The type of the attached storage. |
db_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property dbName: Database Name. |
encode |
typing.Union[str, ros_cdk_core.IResolvable] |
Property encode: Encoding used by the database. |
inst_db_name |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, InstDbNameProperty]]] |
Property instDbName:. |
password |
typing.Union[str, ros_cdk_core.IResolvable] |
Property password: The logon password of the database instance. |
rds_instance |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property rdsInstance: This property is required only for vertical partitioning. |
type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property type: Database Sharding method. |
drds_instance_id
Required
drds_instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property drdsInstanceId: DRDS instance ID.
account_name
Optional
account_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountName: In the vertical split scenario, an account name with access rights to the corresponding database on all RDSs.
db_instance_is_creating
Optional
db_instance_is_creating: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property dbInstanceIsCreating: Check whether the RDS instance is being created.
db_inst_type
Optional
db_inst_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbInstType: The type of the attached storage.
Valid values: RDS or POLARDB
db_name
Optional
db_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dbName: Database Name.
encode
Optional
encode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property encode: Encoding used by the database.
inst_db_name
Optional
inst_db_name: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, InstDbNameProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, InstDbNameProperty]]]
Property instDbName:.
password
Optional
password: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property password: The logon password of the database instance.
rds_instance
Optional
rds_instance: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property rdsInstance: This property is required only for vertical partitioning.
type
Optional
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.