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

Class: Aws::EC2::Types::ScheduledInstancesPrivateIpAddressConfig

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

Overview

Note:

When making an API call, you may pass ScheduledInstancesPrivateIpAddressConfig data as a hash:

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

Describes a private IPv4 address for a Scheduled Instance.

Instance Attribute Summary collapse

Instance Attribute Details

#primaryBoolean

Indicates whether this is a primary IPv4 address. Otherwise, this is a secondary IPv4 address.

Returns:

  • (Boolean)


26516
26517
26518
26519
26520
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26516

class ScheduledInstancesPrivateIpAddressConfig < Struct.new(
  :primary,
  :private_ip_address)
  include Aws::Structure
end

#private_ip_addressString

The IPv4 address.

Returns:

  • (String)


26516
26517
26518
26519
26520
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 26516

class ScheduledInstancesPrivateIpAddressConfig < Struct.new(
  :primary,
  :private_ip_address)
  include Aws::Structure
end