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_id
Optional
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_ids
Optional
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_name
Optional
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_type
Optional
dedicated_host_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dedicatedHostType: The type of the dedicated host.
refresh_options
Optional
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_id
Optional
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.
status
Optional
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.
tags
Optional
tags: typing.List[TagsProperty]
- Type: typing.List[ros_cdk_ecs.datasource.RosDedicatedHosts.TagsProperty]
Property tags: Tags of ddh.
zone_id
Optional
zone_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property zoneId: The zone ID of the dedicated host.