SpotFleetInstanceNetworkInterfaceSpecificationArgs

data class SpotFleetInstanceNetworkInterfaceSpecificationArgs(val associatePublicIpAddress: Output<Boolean>? = null, val deleteOnTermination: Output<Boolean>? = null, val description: Output<String>? = null, val deviceIndex: Output<Int>? = null, val groups: Output<List<String>>? = null, val ipv6AddressCount: Output<Int>? = null, val ipv6Addresses: Output<List<SpotFleetInstanceIpv6AddressArgs>>? = null, val networkInterfaceId: Output<String>? = null, val privateIpAddresses: Output<List<SpotFleetPrivateIpAddressSpecificationArgs>>? = null, val secondaryPrivateIpAddressCount: Output<Int>? = null, val subnetId: Output<String>? = null) : ConvertibleToJava<SpotFleetInstanceNetworkInterfaceSpecificationArgs>

Constructors

constructor(associatePublicIpAddress: Output<Boolean>? = null, deleteOnTermination: Output<Boolean>? = null, description: Output<String>? = null, deviceIndex: Output<Int>? = null, groups: Output<List<String>>? = null, ipv6AddressCount: Output<Int>? = null, ipv6Addresses: Output<List<SpotFleetInstanceIpv6AddressArgs>>? = null, networkInterfaceId: Output<String>? = null, privateIpAddresses: Output<List<SpotFleetPrivateIpAddressSpecificationArgs>>? = null, secondaryPrivateIpAddressCount: Output<Int>? = null, subnetId: Output<String>? = null)

Properties

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

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true . AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page .

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

Indicates whether the network interface is deleted when the instance is terminated.

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

The description of the network interface. Applies only if creating a network interface when launching an instance.

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

The position of the network interface in the attachment order. A primary network interface has a device index of 0. If you specify a network interface when launching an instance, you must specify the device index.

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

The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.

Link copied to clipboard
val ipv6AddressCount: Output<Int>? = null

A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.

Link copied to clipboard

The IPv6 addresses to assign to the network interface. You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.

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

The ID of the network interface. If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.

Link copied to clipboard

The private IPv4 addresses to assign to the network interface. Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.

Link copied to clipboard
val secondaryPrivateIpAddressCount: Output<Int>? = null

The number of secondary private IPv4 addresses. You can’t specify this parameter and also specify a secondary private IP address using the PrivateIpAddress parameter.

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

The ID of the subnet associated with the network interface.

Functions

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