SpotInstanceRequestNetworkInterface constructor

const SpotInstanceRequestNetworkInterface({
  1. Input<bool?>? deleteOnTermination,
  2. required Input<int> deviceIndex,
  3. Input<int?>? networkCardIndex,
  4. required Input<String> networkInterfaceId,
})

Creates a new SpotInstanceRequestNetworkInterface. 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 SpotInstanceRequestNetworkInterface({
  this.deleteOnTermination,
  required this.deviceIndex,
  this.networkCardIndex,
  required this.networkInterfaceId,
});