NetworkInterfaceAttachmentProps
Properties for defining a NetworkInterfaceAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfaceattachment
Initializer
import ros_cdk_ecs
ros_cdk_ecs.NetworkInterfaceAttachmentProps(
instance_id: typing.Union[str, IResolvable],
network_interface_id: typing.Union[str, IResolvable],
ecs_restart_option: typing.Union[str, IResolvable] = None,
trunk_network_instance_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceId: ECS instance id. |
network_interface_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property networkInterfaceId: Network interface id. |
ecs_restart_option |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ecsRestartOption: Control whether to restart the ECS instance when binding an elastic network card.Only effective for ENI that does not support hot swapping. |
trunk_network_instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property trunkNetworkInstanceId: undefined. |
instance_id
Required
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: ECS instance id.
network_interface_id
Required
network_interface_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property networkInterfaceId: Network interface id.
ecs_restart_option
Optional
ecs_restart_option: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ecsRestartOption: Control whether to restart the ECS instance when binding an elastic network card.Only effective for ENI that does not support hot swapping.
trunk_network_instance_id
Optional
trunk_network_instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property trunkNetworkInstanceId: undefined.