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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass AssignIpv6AddressesRequest data as a hash:

{
  ipv_6_address_count: 1,
  ipv_6_addresses: ["String"],
  network_interface_id: "String", # 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)


383
384
385
386
387
388
# File 'lib/aws-sdk-ec2/types.rb', line 383

class AssignIpv6AddressesRequest < Struct.new(
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id)
  include Aws::Structure
end

#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>)


383
384
385
386
387
388
# File 'lib/aws-sdk-ec2/types.rb', line 383

class AssignIpv6AddressesRequest < Struct.new(
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id)
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


383
384
385
386
387
388
# File 'lib/aws-sdk-ec2/types.rb', line 383

class AssignIpv6AddressesRequest < Struct.new(
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id)
  include Aws::Structure
end