ZonesProps
Properties for defining a Zones.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rds-zones
Initializer
from ros_cdk_rds import datasource
datasource.ZonesProps(
engine: typing.Union[str, IResolvable],
category: typing.Union[str, IResolvable] = None,
commodity_code: typing.Union[str, IResolvable] = None,
dispense_mode: typing.Union[str, IResolvable] = None,
engine_version: typing.Union[str, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None,
zone_id: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
engine | typing.Union[str, ros_cdk_core.IResolvable] | Property engine: The database engine that is run by the instance. |
category | typing.Union[str, ros_cdk_core.IResolvable] | Property category: The RDS edition of the instance. |
commodity_code | typing.Union[str, ros_cdk_core.IResolvable] | Property commodityCode: The commodity code of the instance. |
dispense_mode | typing.Union[str, ros_cdk_core.IResolvable] | Property dispenseMode: Specifies whether to return the zones in which the single-zone deployment method is supported. |
engine_version | typing.Union[str, ros_cdk_core.IResolvable] | Property engineVersion: The version of the database engine that is run by the instance. |
refresh_options | typing.Union[str, ros_cdk_core.IResolvable] | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
zone_id | typing.Union[str, ros_cdk_core.IResolvable] | Property zoneId: The ID of the zone in which the instance is located. |
engineRequired
engine: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property engine: The database engine that is run by the instance.
categoryOptional
category: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property category: The RDS edition of the instance.
Valid values: Basic: RDS Basic Edition HighAvailability: RDS High-availability Edition AlwaysOn: RDS Cluster Edition Finance: RDS Enterprise Edition
commodity_codeOptional
commodity_code: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property commodityCode: The commodity code of the instance.
dispense_modeOptional
dispense_mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dispenseMode: Specifies whether to return the zones in which the single-zone deployment method is supported.
Valid values: 1: returns the zones. 0: does not return the zones. Default value: 0.
engine_versionOptional
engine_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property engineVersion: The version of the database engine that is run by the instance.
refresh_optionsOptional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
zone_idOptional
zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property zoneId: The ID of the zone in which the instance is located.
If the instance spans more than one zone, the value of this parameter contains an MAZ part, such as cn-hangzhou-MAZ6(b,f) and cn-hangzhou-MAZ5(b,e,f).