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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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: "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)


750
751
752
753
754
755
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 750

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


750
751
752
753
754
755
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 750

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)


750
751
752
753
754
755
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 750

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