Class: Aws::EC2::Types::SpotPrice

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

Overview

Describes the maximum hourly price (bid) for any Spot instance launched to fulfill the request.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone.

Returns:

  • (String)


23404
23405
23406
23407
23408
23409
23410
23411
# File 'lib/aws-sdk-ec2/types.rb', line 23404

class SpotPrice < Struct.new(
  :availability_zone,
  :instance_type,
  :product_description,
  :spot_price,
  :timestamp)
  include Aws::Structure
end

#instance_typeString

The instance type. Note that T2 and HS1 instance types are not supported.

Returns:

  • (String)


23404
23405
23406
23407
23408
23409
23410
23411
# File 'lib/aws-sdk-ec2/types.rb', line 23404

class SpotPrice < Struct.new(
  :availability_zone,
  :instance_type,
  :product_description,
  :spot_price,
  :timestamp)
  include Aws::Structure
end

#product_descriptionString

A general description of the AMI.

Returns:

  • (String)


23404
23405
23406
23407
23408
23409
23410
23411
# File 'lib/aws-sdk-ec2/types.rb', line 23404

class SpotPrice < Struct.new(
  :availability_zone,
  :instance_type,
  :product_description,
  :spot_price,
  :timestamp)
  include Aws::Structure
end

#spot_priceString

The maximum price (bid) that you are willing to pay for a Spot instance.

Returns:

  • (String)


23404
23405
23406
23407
23408
23409
23410
23411
# File 'lib/aws-sdk-ec2/types.rb', line 23404

class SpotPrice < Struct.new(
  :availability_zone,
  :instance_type,
  :product_description,
  :spot_price,
  :timestamp)
  include Aws::Structure
end

#timestampTime

The date and time the request was created, in UTC format (for example, YYYY-MM-*DD*T*HH*:MM:*SS*Z).

Returns:

  • (Time)


23404
23405
23406
23407
23408
23409
23410
23411
# File 'lib/aws-sdk-ec2/types.rb', line 23404

class SpotPrice < Struct.new(
  :availability_zone,
  :instance_type,
  :product_description,
  :spot_price,
  :timestamp)
  include Aws::Structure
end