InstanceNetworkInterface constructor
const
InstanceNetworkInterface({})
Creates a new InstanceNetworkInterface.
deleteOnTermination Whether or not to delete the network interface on instance termination. Defaults to false. Currently, the only valid value is false, as this is only supported when creating new network interfaces when launching an instance.
deviceIndex Integer index of the network interface attachment. Limited by instance type.
networkCardIndex Integer index of the network card. Limited by instance type. The default index is 0.
networkInterfaceId ID of the network interface to attach.
Implementation
const InstanceNetworkInterface({
this.deleteOnTermination,
required this.deviceIndex,
this.networkCardIndex,
required this.networkInterfaceId,
});