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)


63069
63070
63071
63072
63073
63074
63075
# File 'lib/aws-sdk-ec2/types.rb', line 63069

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

#messageString

The description for the status code.

Returns:

  • (String)


63069
63070
63071
63072
63073
63074
63075
# File 'lib/aws-sdk-ec2/types.rb', line 63069

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)


63069
63070
63071
63072
63073
63074
63075
# File 'lib/aws-sdk-ec2/types.rb', line 63069

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