Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#spot_instance_request_idString

The ID of the Spot Instance request.

Returns:

  • (String)

4820
4821
4822
4823
4824
4825
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4820

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

#stateString

The state of the Spot Instance request.

Returns:

  • (String)

4820
4821
4822
4823
4824
4825
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 4820

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