Skip to content

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_idRequired

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

Property instanceId: ECS instance id.


network_interface_idRequired

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

Property networkInterfaceId: Network interface id.


ecs_restart_optionOptional

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_idOptional

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

Property trunkNetworkInstanceId: undefined.