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

Class: Aws::EC2::Types::AssignIpv6AddressesRequest

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

Overview

Note:

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

{
  ipv_6_address_count: 1,
  ipv_6_addresses: ["String"],
  network_interface_id: "NetworkInterfaceId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#ipv_6_address_countInteger

The number of IPv6 addresses to assign to the 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 the network interface.

#ipv_6_addressesArray<String>

One or more specific IPv6 addresses to be assigned to the network interface. You can\'t use this option if you\'re specifying a number of IPv6 addresses.

Returns:

  • (Array<String>)

    One or more specific IPv6 addresses to be assigned to the network interface.

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)

    The ID of the network interface.