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

Class: Aws::EC2::Types::CancelledSpotInstanceRequest

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

Overview

Describes a request to cancel a Spot instance.

Instance Attribute Summary collapse

Instance Attribute Details

#spot_instance_request_idString

The ID of the Spot instance request.

Returns:

  • (String)


1899
1900
1901
1902
1903
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1899

class CancelledSpotInstanceRequest < Struct.new(
  :spot_instance_request_id,
  :state)
  include Aws::Structure
end

#stateString

The state of the Spot instance request.

Returns:

  • (String)


1899
1900
1901
1902
1903
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1899

class CancelledSpotInstanceRequest < Struct.new(
  :spot_instance_request_id,
  :state)
  include Aws::Structure
end