Skip to content

DedicatedHostsProps

Properties for defining a DedicatedHosts.

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

Initializer

from ros_cdk_ecs import datasource
datasource.DedicatedHostsProps(
  dedicated_host_cluster_id: typing.Union[str, IResolvable] = None,
  dedicated_host_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  dedicated_host_name: typing.Union[str, IResolvable] = None,
  dedicated_host_type: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  status: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None,
  zone_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
dedicated_host_cluster_id typing.Union[str, ros_cdk_core.IResolvable] Property dedicatedHostClusterId: The ID of the dedicated host cluster.
dedicated_host_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property dedicatedHostIds: The IDs of the dedicated hosts.
dedicated_host_name typing.Union[str, ros_cdk_core.IResolvable] Property dedicatedHostName: The name of the dedicated host.
dedicated_host_type typing.Union[str, ros_cdk_core.IResolvable] Property dedicatedHostType: The type of the dedicated host.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group to which the dedicated host belongs.
status typing.Union[str, ros_cdk_core.IResolvable] Property status: The service status of the dedicated host.
tags typing.List[ros_cdk_ecs.datasource.RosDedicatedHosts.TagsProperty] Property tags: Tags of ddh.
zone_id typing.Union[str, ros_cdk_core.IResolvable] Property zoneId: The zone ID of the dedicated host.

dedicated_host_cluster_idOptional

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

Property dedicatedHostClusterId: The ID of the dedicated host cluster.


dedicated_host_idsOptional

dedicated_host_ids: 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 dedicatedHostIds: The IDs of the dedicated hosts.

You can specify up to 100 dedicated host IDs.


dedicated_host_nameOptional

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

Property dedicatedHostName: The name of the dedicated host.


dedicated_host_typeOptional

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

Property dedicatedHostType: The type of the dedicated host.


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_group_idOptional

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

Property resourceGroupId: The ID of the resource group to which the dedicated host belongs.


statusOptional

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

Property status: The service status of the dedicated host.

Valid values: Available: The dedicated host is running normally. UnderAssessment: The dedicated host is at risk, which may cause issues to ECS instances on the dedicated host. PermanentFailure: A permanent failure exists and the dedicated host is unavailable. Default value: Available.


tagsOptional

tags: typing.List[TagsProperty]
  • Type: typing.List[ros_cdk_ecs.datasource.RosDedicatedHosts.TagsProperty]

Property tags: Tags of ddh.


zone_idOptional

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

Property zoneId: The zone ID of the dedicated host.