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

Contains the output of AllocateAddress.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_idString

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

#domainString

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

#public_ipString

The Elastic IP address.

Returns:

  • (String)

    The Elastic IP address.