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

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

Overview

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)


417
418
419
420
421
422
423
# File 'lib/aws-sdk-ec2/types.rb', line 417

class AllocateAddressResult < Struct.new(
  :public_ip,
  :allocation_id,
  :public_ipv_4_pool,
  :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)


417
418
419
420
421
422
423
# File 'lib/aws-sdk-ec2/types.rb', line 417

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

#public_ipString

The Elastic IP address.

Returns:

  • (String)


417
418
419
420
421
422
423
# File 'lib/aws-sdk-ec2/types.rb', line 417

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

#public_ipv_4_poolString

The ID of an address pool.

Returns:

  • (String)


417
418
419
420
421
422
423
# File 'lib/aws-sdk-ec2/types.rb', line 417

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