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

Class: Aws::EC2::Types::NatGatewayAddress

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

Overview

Describes the IP addresses and network interface associated with a NAT gateway.

Instance Attribute Summary collapse

Instance Attribute Details

#allocation_idString

The allocation ID of the Elastic IP address that's associated with the NAT gateway.

Returns:

  • (String)


17310
17311
17312
17313
17314
17315
17316
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17310

class NatGatewayAddress < Struct.new(
  :allocation_id,
  :network_interface_id,
  :private_ip,
  :public_ip)
  include Aws::Structure
end

#network_interface_idString

The ID of the network interface associated with the NAT gateway.

Returns:

  • (String)


17310
17311
17312
17313
17314
17315
17316
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17310

class NatGatewayAddress < Struct.new(
  :allocation_id,
  :network_interface_id,
  :private_ip,
  :public_ip)
  include Aws::Structure
end

#private_ipString

The private IP address associated with the Elastic IP address.

Returns:

  • (String)


17310
17311
17312
17313
17314
17315
17316
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17310

class NatGatewayAddress < Struct.new(
  :allocation_id,
  :network_interface_id,
  :private_ip,
  :public_ip)
  include Aws::Structure
end

#public_ipString

The Elastic IP address associated with the NAT gateway.

Returns:

  • (String)


17310
17311
17312
17313
17314
17315
17316
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17310

class NatGatewayAddress < Struct.new(
  :allocation_id,
  :network_interface_id,
  :private_ip,
  :public_ip)
  include Aws::Structure
end