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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PrivateIpAddressSpecification as input to an Aws::Client method, you can use a vanilla Hash:

{
  primary: false,
  private_ip_address: "String",
}

Describes a secondary private IPv4 address for a network interface.

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)

    Indicates whether the private IPv4 address is the primary private IPv4 address.

#private_ip_addressString

The private IPv4 addresses.

Returns:

  • (String)

    The private IPv4 addresses.