Builder

class Builder

Properties

Link copied to clipboard

Associates a Carrier IP address with eth0 for a new network interface.

Link copied to clipboard

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

Link copied to clipboard

A security group connection tracking specification that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Idle connection tracking timeout in the Amazon EC2 User Guide.

Link copied to clipboard

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

Link copied to clipboard

A description for the network interface.

Link copied to clipboard

The device index for the network interface attachment. The primary network interface has a device index of 0. Each network interface is of type interface, you must specify a device index. If you create a launch template that includes secondary network interfaces but not a primary network interface, then you must add a primary network interface as a launch parameter when you launch an instance from the template.

Link copied to clipboard

The number of ENA queues to be created with the instance.

Link copied to clipboard

Configure ENA Express settings for your launch template.

Link copied to clipboard

The IDs of one or more security groups.

Link copied to clipboard

The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa or efa. For more information, see Elastic Fabric Adapter for AI/ML and HPC workloads on Amazon EC2 in the Amazon EC2 User Guide.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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 specifying specific IPv6 addresses.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

The ID of the network interface.

Link copied to clipboard

The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.

Link copied to clipboard

The primary private IPv4 address of the network interface.

Link copied to clipboard

One or more private IPv4 addresses.

Link copied to clipboard

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

Link copied to clipboard

The ID of the subnet for the network interface.