Class: Aws::EC2::Types::PrivateIpAddressSpecification

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

Overview

Describes a secondary private IPv4 address for a network interface.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#primaryBoolean

Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.

Returns:

  • (Boolean)


58163
58164
58165
58166
58167
58168
# File 'lib/aws-sdk-ec2/types.rb', line 58163

class PrivateIpAddressSpecification < Struct.new(
  :primary,
  :private_ip_address)
  SENSITIVE = []
  include Aws::Structure
end

#private_ip_addressString

The private IPv4 address.

Returns:

  • (String)


58163
58164
58165
58166
58167
58168
# File 'lib/aws-sdk-ec2/types.rb', line 58163

class PrivateIpAddressSpecification < Struct.new(
  :primary,
  :private_ip_address)
  SENSITIVE = []
  include Aws::Structure
end