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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Contains the output of AllocateAddress.

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)


277
278
279
280
281
282
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 277

class AllocateAddressResult < Struct.new(
  :public_ip,
  :allocation_id,
  :domain)
  include Aws::Structure
end

#domainString

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

Returns:

  • (String)


277
278
279
280
281
282
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 277

class AllocateAddressResult < Struct.new(
  :public_ip,
  :allocation_id,
  :domain)
  include Aws::Structure
end

#public_ipString

The Elastic IP address.

Returns:

  • (String)


277
278
279
280
281
282
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 277

class AllocateAddressResult < Struct.new(
  :public_ip,
  :allocation_id,
  :domain)
  include Aws::Structure
end