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.



15422
15423
15424
15425
15426
15427
15428
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15422

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)


15422
15423
15424
15425
15426
15427
15428
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15422

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)


15422
15423
15424
15425
15426
15427
15428
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15422

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)


15422
15423
15424
15425
15426
15427
15428
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15422

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