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

Class: Aws::EC2::Types::Address

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

Overview

Describes an Elastic IP address, or a carrier IP address.

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_id ⇒ String

The ID representing the allocation of the address for use with EC2-VPC.

Returns:

  • (String) —

    The ID representing the allocation of the address for use with EC2-VPC.

#association_id ⇒ String

The ID representing the association of the address with an instance in a VPC.

Returns:

  • (String) —

    The ID representing the association of the address with an instance in a VPC.

#carrier_ip ⇒ String

The carrier IP address associated. 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 associated.

#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 this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

Possible values:

  • vpc
  • standard

Returns:

  • (String) —

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

#instance_id ⇒ String

The ID of the instance that the address is associated with (if any).

Returns:

  • (String) —

    The ID of the instance that the address is associated with (if any).

#network_border_group ⇒ String

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

Returns:

  • (String) —

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

#network_interface_id ⇒ String

The ID of the network interface.

Returns:

  • (String) —

    The ID of the network interface.

#network_interface_owner_id ⇒ String

The ID of the AWS account that owns the network interface.

Returns:

  • (String) —

    The ID of the AWS account that owns the network interface.

#private_ip_address ⇒ String

The private IP address associated with the Elastic IP address.

Returns:

  • (String) —

    The private IP address associated with the Elastic IP address.

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

#tags ⇒ Array<Types::Tag>

Any tags assigned to the Elastic IP address.

Returns:

  • (Array<Types::Tag>) —

    Any tags assigned to the Elastic IP address.