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)


1917
1918
1919
1920
1921
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1917

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

#stateString

The state of the Spot instance request.

Returns:

  • (String)


1917
1918
1919
1920
1921
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1917

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