AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails - Amazon Security Hub
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails

One or more network interfaces to attach to an Amazon EC2 instance. If you specify a network interface, you must specify security groups and subnets as part of the network interface.

Contents

AssociateCarrierIpAddress

Indicates whether to associate a Carrier IP address with eth0 for a new network interface. You use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information, see Carrier IP address in the Amazon Wavelength Developer Guide.

Type: Boolean

Required: No

AssociatePublicIpAddress

Associates a public IPv4 address with eth0 for a new network interface.

Type: Boolean

Required: No

DeleteOnTermination

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

Type: Boolean

Required: No

Description

A description for the network interface.

Type: String

Pattern: .*\S.*

Required: No

DeviceIndex

The device index for the network interface attachment.

Type: Integer

Required: No

Groups

The IDs of one or more security groups.

Type: Array of strings

Pattern: .*\S.*

Required: No

InterfaceType

The type of network interface.

Type: String

Pattern: .*\S.*

Required: No

Ipv4PrefixCount

The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefixes option.

Type: Integer

Required: No

Ipv4Prefixes

One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv4PrefixCount option.

Type: Array of AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails objects

Required: No

Ipv6AddressCount

The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if you use Ipv6Addresses.

Type: Integer

Required: No

Ipv6Addresses

One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you use Ipv6AddressCount.

Type: Array of AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails objects

Required: No

Ipv6PrefixCount

The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefix option.

Type: Integer

Required: No

Ipv6Prefixes

One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount option.

Type: Array of AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails objects

Required: No

NetworkCardIndex

The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.

Type: Integer

Required: No

NetworkInterfaceId

The ID of the network interface.

Type: String

Pattern: .*\S.*

Required: No

PrivateIpAddress

The primary private IPv4 address of the network interface.

Type: String

Pattern: .*\S.*

Required: No

PrivateIpAddresses

One or more private IPv4 addresses.

Type: Array of AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails objects

Required: No

SecondaryPrivateIpAddressCount

The number of secondary private IPv4 addresses to assign to a network interface.

Type: Integer

Required: No

SubnetId

The ID of the subnet for the network interface.

Type: String

Pattern: .*\S.*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: