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

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

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

Overview

Describes the maximum price per hour that you are willing to pay for a Spot Instance.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone.

Returns:

  • (String)


27939
27940
27941
27942
27943
27944
27945
27946
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 27939

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

#instance_typeString

The instance type.

Returns:

  • (String)


27939
27940
27941
27942
27943
27944
27945
27946
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 27939

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)


27939
27940
27941
27942
27943
27944
27945
27946
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 27939

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

#spot_priceString

The maximum price per hour that you are willing to pay for a Spot Instance.

Returns:

  • (String)


27939
27940
27941
27942
27943
27944
27945
27946
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 27939

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-DDTHH:MM:SSZ).

Returns:

  • (Time)


27939
27940
27941
27942
27943
27944
27945
27946
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 27939

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