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

Class: Aws::EC2::Types::NetworkInterfacePrivateIpAddress

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

Overview

Describes the private IPv4 address of a network interface.

Instance Attribute Summary collapse

Instance Attribute Details

#associationTypes::NetworkInterfaceAssociation

The association information for an Elastic IP address (IPv4) associated with the network interface.



17738
17739
17740
17741
17742
17743
17744
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17738

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

#primaryBoolean

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

Returns:

  • (Boolean)


17738
17739
17740
17741
17742
17743
17744
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17738

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

#private_dns_nameString

The private DNS name.

Returns:

  • (String)


17738
17739
17740
17741
17742
17743
17744
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17738

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

#private_ip_addressString

The private IPv4 address.

Returns:

  • (String)


17738
17739
17740
17741
17742
17743
17744
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17738

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