NetworkInterfaceAttachmentArgs

data class NetworkInterfaceAttachmentArgs(val deleteOnTermination: Output<Boolean>? = null, val deviceIndex: Output<String>? = 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
fun NetworkInterfaceAttachmentArgs(deleteOnTermination: Output<Boolean>? = null, deviceIndex: Output<String>? = null, instanceId: Output<String>? = null, networkInterfaceId: Output<String>? = null)

Functions

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

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
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.