You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::LaunchTemplateInstanceNetworkInterfaceSpecification

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a network interface.

Instance Attribute Summary collapse

Instance Attribute Details

#associate_public_ip_addressBoolean

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

Returns:

  • (Boolean)

    Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

#delete_on_terminationBoolean

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

Returns:

  • (Boolean)

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

#descriptionString

A description for the network interface.

Returns:

  • (String)

    A description for the network interface.

#device_indexInteger

The device index for the network interface attachment.

Returns:

  • (Integer)

    The device index for the network interface attachment.

#groupsArray<String>

The IDs of one or more security groups.

Returns:

  • (Array<String>)

    The IDs of one or more security groups.

#interface_typeString

The type of network interface.

Returns:

  • (String)

    The type of network interface.

#ipv_6_address_countInteger

The number of IPv6 addresses for the network interface.

Returns:

  • (Integer)

    The number of IPv6 addresses for the network interface.

#ipv_6_addressesArray<Types::InstanceIpv6Address>

The IPv6 addresses for the network interface.

Returns:

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)

    The ID of the network interface.

#private_ip_addressString

The primary private IPv4 address of the network interface.

Returns:

  • (String)

    The primary private IPv4 address of the network interface.

#private_ip_addressesArray<Types::PrivateIpAddressSpecification>

One or more private IPv4 addresses.

Returns:

#secondary_private_ip_address_countInteger

The number of secondary private IPv4 addresses for the network interface.

Returns:

  • (Integer)

    The number of secondary private IPv4 addresses for the network interface.

#subnet_idString

The ID of the subnet for the network interface.

Returns:

  • (String)

    The ID of the subnet for the network interface.