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