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

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

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

Overview

Describes an Elastic IP address.

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_idString

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

Returns:

  • (String)


209
210
211
212
213
214
215
216
217
218
219
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 209

class Address < Struct.new(
  :instance_id,
  :public_ip,
  :allocation_id,
  :association_id,
  :domain,
  :network_interface_id,
  :network_interface_owner_id,
  :private_ip_address)
  include Aws::Structure
end

#association_idString

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

Returns:

  • (String)


209
210
211
212
213
214
215
216
217
218
219
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 209

class Address < Struct.new(
  :instance_id,
  :public_ip,
  :allocation_id,
  :association_id,
  :domain,
  :network_interface_id,
  :network_interface_owner_id,
  :private_ip_address)
  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)


209
210
211
212
213
214
215
216
217
218
219
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 209

class Address < Struct.new(
  :instance_id,
  :public_ip,
  :allocation_id,
  :association_id,
  :domain,
  :network_interface_id,
  :network_interface_owner_id,
  :private_ip_address)
  include Aws::Structure
end

#instance_idString

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

Returns:

  • (String)


209
210
211
212
213
214
215
216
217
218
219
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 209

class Address < Struct.new(
  :instance_id,
  :public_ip,
  :allocation_id,
  :association_id,
  :domain,
  :network_interface_id,
  :network_interface_owner_id,
  :private_ip_address)
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface.

Returns:

  • (String)


209
210
211
212
213
214
215
216
217
218
219
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 209

class Address < Struct.new(
  :instance_id,
  :public_ip,
  :allocation_id,
  :association_id,
  :domain,
  :network_interface_id,
  :network_interface_owner_id,
  :private_ip_address)
  include Aws::Structure
end

#network_interface_owner_idString

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

Returns:

  • (String)


209
210
211
212
213
214
215
216
217
218
219
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 209

class Address < Struct.new(
  :instance_id,
  :public_ip,
  :allocation_id,
  :association_id,
  :domain,
  :network_interface_id,
  :network_interface_owner_id,
  :private_ip_address)
  include Aws::Structure
end

#private_ip_addressString

The private IP address associated with the Elastic IP address.

Returns:

  • (String)


209
210
211
212
213
214
215
216
217
218
219
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 209

class Address < Struct.new(
  :instance_id,
  :public_ip,
  :allocation_id,
  :association_id,
  :domain,
  :network_interface_id,
  :network_interface_owner_id,
  :private_ip_address)
  include Aws::Structure
end

#public_ipString

The Elastic IP address.

Returns:

  • (String)


209
210
211
212
213
214
215
216
217
218
219
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 209

class Address < Struct.new(
  :instance_id,
  :public_ip,
  :allocation_id,
  :association_id,
  :domain,
  :network_interface_id,
  :network_interface_owner_id,
  :private_ip_address)
  include Aws::Structure
end