Skip to content

ZonesProps

Properties for defining a Zones.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-zones

Initializer

from ros_cdk_ecs import datasource
datasource.ZonesProps(
  data_disk_category: typing.Union[str, IResolvable] = None,
  instance_charge_type: typing.Union[str, IResolvable] = None,
  instance_type: typing.Union[str, IResolvable] = None,
  io_optimized: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  resource_type: typing.Union[str, IResolvable] = None,
  system_disk_category: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
data_disk_category typing.Union[str, ros_cdk_core.IResolvable] Property dataDiskCategory: The category of the data disk.
instance_charge_type typing.Union[str, ros_cdk_core.IResolvable] Property instanceChargeType: The billing method of the resource.
instance_type typing.Union[str, ros_cdk_core.IResolvable] Property instanceType: The instance type.
io_optimized typing.Union[str, ros_cdk_core.IResolvable] Property ioOptimized: Specifies whether the instance is I\/O optimized.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resource_type typing.Union[str, ros_cdk_core.IResolvable] Property resourceType: The type of the resource.
system_disk_category typing.Union[str, ros_cdk_core.IResolvable] Property systemDiskCategory: The category of the system disk.

data_disk_categoryOptional

data_disk_category: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dataDiskCategory: The category of the data disk.

Valid values: cloud: basic disk cloud_efficiency: ultra disk cloud_ssd: standard SSD ephemeral_ssd: local SSD cloud_essd: enhanced SSD (ESSD)


instance_charge_typeOptional

instance_charge_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceChargeType: The billing method of the resource.

For more information, see Billing overview. Valid values: PrePaid: subscription PostPaid: pay-as-you-go Default value: PostPaid.


instance_typeOptional

instance_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceType: The instance type.


io_optimizedOptional

io_optimized: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property ioOptimized: Specifies whether the instance is I\/O optimized.

Valid values: none: non-I/O optimized optimized: I/O optimized Default value: optimized.


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.

resource_typeOptional

resource_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceType: The type of the resource.

Valid values: instance: ECS instance disk: cloud disk reservedinstance: reserved instance ddh: dedicated host


system_disk_categoryOptional

system_disk_category: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property systemDiskCategory: The category of the system disk.

Valid values: cloud: basic disk cloud_efficiency: ultra disk cloud_ssd: standard SSD ephemeral_ssd: local SSD cloud_essd: enhanced SSD (ESSD)