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

Class: Aws::EC2::Types::InstancePrivateIpAddress

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

Overview

Describes a private IPv4 address.

Instance Attribute Summary collapse

Instance Attribute Details

#associationTypes::InstanceNetworkInterfaceAssociation

The association information for an Elastic IP address for the network interface.



17571
17572
17573
17574
17575
17576
17577
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17571

class InstancePrivateIpAddress < Struct.new(
  :association,
  :primary,
  :private_dns_name,
  :private_ip_address)
  include Aws::Structure
end

#primaryBoolean

Indicates whether this IPv4 address is the primary private IP address of the network interface.

Returns:

  • (Boolean)


17571
17572
17573
17574
17575
17576
17577
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17571

class InstancePrivateIpAddress < Struct.new(
  :association,
  :primary,
  :private_dns_name,
  :private_ip_address)
  include Aws::Structure
end

#private_dns_nameString

The private IPv4 DNS name.

Returns:

  • (String)


17571
17572
17573
17574
17575
17576
17577
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17571

class InstancePrivateIpAddress < Struct.new(
  :association,
  :primary,
  :private_dns_name,
  :private_ip_address)
  include Aws::Structure
end

#private_ip_addressString

The private IPv4 address of the network interface.

Returns:

  • (String)


17571
17572
17573
17574
17575
17576
17577
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17571

class InstancePrivateIpAddress < Struct.new(
  :association,
  :primary,
  :private_dns_name,
  :private_ip_address)
  include Aws::Structure
end