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
}

Constant Summary collapse

SENSITIVE =
[]

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)


804
805
806
807
808
809
810
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 804

class AssignIpv6AddressesRequest < Struct.new(
  :ipv_6_address_count,
  :ipv_6_addresses,
  :network_interface_id)
  SENSITIVE = []
  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>)


804
805
806
807
808
809
810
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 804

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

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


804
805
806
807
808
809
810
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 804

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