Skip to content

NetworkInterfaceAttachmentProps

Properties for defining a NetworkInterfaceAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-networkinterfaceattachment

Initializer

import { NetworkInterfaceAttachmentProps } from '@alicloud/ros-cdk-ecs'
const networkInterfaceAttachmentProps: NetworkInterfaceAttachmentProps = { ... }

Properties

Name Type Description
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: ECS instance id.
networkInterfaceId string | @alicloud/ros-cdk-core.IResolvable Property networkInterfaceId: Network interface id.
ecsRestartOption string | @alicloud/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.
trunkNetworkInstanceId string | @alicloud/ros-cdk-core.IResolvable Property trunkNetworkInstanceId: undefined.

instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: ECS instance id.


networkInterfaceIdRequired

public readonly networkInterfaceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property networkInterfaceId: Network interface id.


ecsRestartOptionOptional

public readonly ecsRestartOption: string | IResolvable;
  • Type: string | @alicloud/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.


trunkNetworkInstanceIdOptional

public readonly trunkNetworkInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property trunkNetworkInstanceId: undefined.