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

Class: Aws::EC2::Types::AllocateAddressResult

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_id ⇒ String

[EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

Returns:

  • (String) —

    [EC2-VPC] The ID that AWS assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

#carrier_ip ⇒ String

The carrier IP address. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

Returns:

  • (String) —

    The carrier IP address.

#customer_owned_ip ⇒ String

The customer-owned IP address.

Returns:

  • (String) —

    The customer-owned IP address.

#customer_owned_ipv_4_pool ⇒ String

The ID of the customer-owned address pool.

Returns:

  • (String) —

    The ID of the customer-owned address pool.

#domain ⇒ String

Indicates whether the Elastic IP address is for use with instances in a VPC (vpc) or instances in EC2-Classic (standard).

Possible values:

  • vpc
  • standard

Returns:

  • (String) —

    Indicates whether the Elastic IP address is for use with instances in a VPC (vpc) or instances in EC2-Classic (standard).

#network_border_group ⇒ String

The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.

Returns:

  • (String) —

    The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.

#public_ip ⇒ String

The Elastic IP address.

Returns:

  • (String) —

    The Elastic IP address.

#public_ipv_4_pool ⇒ String

The ID of an address pool.

Returns:

  • (String) —

    The ID of an address pool.