NetworkInterfaceAttachmentArgs

data class NetworkInterfaceAttachmentArgs(val deleteOnTermination: Output<Boolean>? = null, val deviceIndex: Output<String>? = null, val enaSrdSpecification: Output<NetworkInterfaceAttachmentEnaSrdSpecificationArgs>? = null, val instanceId: Output<String>? = null, val networkInterfaceId: Output<String>? = null) : ConvertibleToJava<NetworkInterfaceAttachmentArgs>

Resource Type definition for AWS::EC2::NetworkInterfaceAttachment

Constructors

Link copied to clipboard
constructor(deleteOnTermination: Output<Boolean>? = null, deviceIndex: Output<String>? = null, enaSrdSpecification: Output<NetworkInterfaceAttachmentEnaSrdSpecificationArgs>? = null, instanceId: Output<String>? = null, networkInterfaceId: Output<String>? = null)

Properties

Link copied to clipboard
val deleteOnTermination: Output<Boolean>? = null

Whether to delete the network interface when the instance terminates. By default, this value is set to true.

Link copied to clipboard
val deviceIndex: Output<String>? = null

The network interface's position in the attachment order. For example, the first attached network interface has a DeviceIndex of 0.

Link copied to clipboard

Configures ENA Express for the network interface that this action attaches to the instance.

Link copied to clipboard
val instanceId: Output<String>? = null

The ID of the instance to which you will attach the ENI.

Link copied to clipboard
val networkInterfaceId: Output<String>? = null

The ID of the ENI that you want to attach.

Functions

Link copied to clipboard
open override fun toJava(): NetworkInterfaceAttachmentArgs