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

Class: Aws::EC2::Types::LaunchTemplateInstanceNetworkInterfaceSpecificationRequest

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

Overview

Note:

When passing LaunchTemplateInstanceNetworkInterfaceSpecificationRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  associate_public_ip_address: false,
  delete_on_termination: false,
  description: "String",
  device_index: 1,
  groups: ["String"],
  interface_type: "String",
  ipv_6_address_count: 1,
  ipv_6_addresses: [
    {
      ipv_6_address: "String",
    },
  ],
  network_interface_id: "String",
  private_ip_address: "String",
  private_ip_addresses: [
    {
      primary: false,
      private_ip_address: "String",
    },
  ],
  secondary_private_ip_address_count: 1,
  subnet_id: "String",
}

The parameters for a network interface.

Instance Attribute Summary collapse

Instance Attribute Details

#associate_public_ip_addressBoolean

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

Returns:

  • (Boolean)

    Associates 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 networking interface.

Returns:

  • (String)

    The type of networking interface.

#ipv_6_address_countInteger

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.

Returns:

  • (Integer)

    The number of IPv6 addresses to assign to a network interface.

#ipv_6_addressesArray<Types::InstanceIpv6AddressRequest>

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.

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 to assign to a network interface.

Returns:

  • (Integer)

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

#subnet_idString

The ID of the subnet for the network interface.

Returns:

  • (String)

    The ID of the subnet for the network interface.