NetworkInterfaceArgs

data class NetworkInterfaceArgs(val description: Output<String>? = null, val groupSet: Output<List<String>>? = null, val interfaceType: Output<String>? = null, val ipv4PrefixCount: Output<Int>? = null, val ipv4Prefixes: Output<List<NetworkInterfaceIpv4PrefixSpecificationArgs>>? = null, val ipv6AddressCount: Output<Int>? = null, val ipv6Addresses: Output<List<NetworkInterfaceInstanceIpv6AddressArgs>>? = null, val ipv6PrefixCount: Output<Int>? = null, val ipv6Prefixes: Output<List<NetworkInterfaceIpv6PrefixSpecificationArgs>>? = null, val privateIpAddress: Output<String>? = null, val privateIpAddresses: Output<List<NetworkInterfacePrivateIpAddressSpecificationArgs>>? = null, val secondaryPrivateIpAddressCount: Output<Int>? = null, val sourceDestCheck: Output<Boolean>? = null, val subnetId: Output<String>? = null, val tags: Output<List<NetworkInterfaceTagArgs>>? = null) : ConvertibleToJava<NetworkInterfaceArgs>

The AWS::EC2::NetworkInterface resource creates network interface

Constructors

Link copied to clipboard
fun NetworkInterfaceArgs(description: Output<String>? = null, groupSet: Output<List<String>>? = null, interfaceType: Output<String>? = null, ipv4PrefixCount: Output<Int>? = null, ipv4Prefixes: Output<List<NetworkInterfaceIpv4PrefixSpecificationArgs>>? = null, ipv6AddressCount: Output<Int>? = null, ipv6Addresses: Output<List<NetworkInterfaceInstanceIpv6AddressArgs>>? = null, ipv6PrefixCount: Output<Int>? = null, ipv6Prefixes: Output<List<NetworkInterfaceIpv6PrefixSpecificationArgs>>? = null, privateIpAddress: Output<String>? = null, privateIpAddresses: Output<List<NetworkInterfacePrivateIpAddressSpecificationArgs>>? = null, secondaryPrivateIpAddressCount: Output<Int>? = null, sourceDestCheck: Output<Boolean>? = null, subnetId: Output<String>? = null, tags: Output<List<NetworkInterfaceTagArgs>>? = null)

Functions

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

Properties

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

A description for the network interface.

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

A list of security group IDs associated with this network interface.

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

Indicates the type of network interface.

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

The number of IPv4 prefixes to assign to a network interface. When you specify a number of IPv4 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /28 prefixes. You can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.

Link copied to clipboard

Assigns a list of IPv4 prefixes to the network interface. If you want EC2 to automatically assign IPv4 prefixes, use the Ipv4PrefixCount property and do not specify this property. Presently, only /28 prefixes are supported. You can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.

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

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.

Link copied to clipboard

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface. If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property.

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

The number of IPv6 prefixes to assign to a network interface. When you specify a number of IPv6 prefixes, Amazon EC2 selects these prefixes from your existing subnet CIDR reservations, if available, or from free spaces in the subnet. By default, these will be /80 prefixes. You can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.

Link copied to clipboard

Assigns a list of IPv6 prefixes to the network interface. If you want EC2 to automatically assign IPv6 prefixes, use the Ipv6PrefixCount property and do not specify this property. Presently, only /80 prefixes are supported. You can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.

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

Assigns a single private IP address to the network interface, which is used as the primary private IP address. If you want to specify multiple private IP address, use the PrivateIpAddresses property.

Link copied to clipboard

Assigns a list of private IP addresses to the network interface. You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property.

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

The number of secondary private IPv4 addresses to assign to a network interface. When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses

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

Indicates whether traffic to or from the instance is validated.

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

The ID of the subnet to associate with the network interface.

Link copied to clipboard
val tags: Output<List<NetworkInterfaceTagArgs>>? = null

An arbitrary set of tags (key-value pairs) for this network interface.