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.

Constant Summary collapse

SENSITIVE =
[]

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)


45440
45441
45442
45443
45444
45445
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45440

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

#private_ip_addressString

The IPv4 address.

Returns:

  • (String)


45440
45441
45442
45443
45444
45445
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 45440

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