Class: Aws::EC2::Types::SpotInstanceStatus

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

Overview

Describes the status of a Spot Instance request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The status code. For a list of status codes, see [Spot request status codes] in the *Amazon EC2 User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-status.html#spot-instance-request-status-understand

Returns:

  • (String)


66870
66871
66872
66873
66874
66875
66876
# File 'lib/aws-sdk-ec2/types.rb', line 66870

class SpotInstanceStatus < Struct.new(
  :code,
  :message,
  :update_time)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

The description for the status code.

Returns:

  • (String)


66870
66871
66872
66873
66874
66875
66876
# File 'lib/aws-sdk-ec2/types.rb', line 66870

class SpotInstanceStatus < Struct.new(
  :code,
  :message,
  :update_time)
  SENSITIVE = []
  include Aws::Structure
end

#update_timeTime

The date and time of the most recent status update, in UTC format (for example, YYYY-MM-*DD*T*HH*:MM:*SS*Z).

Returns:

  • (Time)


66870
66871
66872
66873
66874
66875
66876
# File 'lib/aws-sdk-ec2/types.rb', line 66870

class SpotInstanceStatus < Struct.new(
  :code,
  :message,
  :update_time)
  SENSITIVE = []
  include Aws::Structure
end