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

Class: Aws::EC2::Types::ActiveInstance

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

Overview

Describes a running instance in a Spot Fleet.

Instance Attribute Summary collapse

Instance Attribute Details

#instance_healthString

The health status of the instance. If the status of either the instance status check or the system status check is impaired, the health status of the instance is unhealthy. Otherwise, the health status is healthy.

Returns:

  • (String)


208
209
210
211
212
213
214
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 208

class ActiveInstance < Struct.new(
  :instance_id,
  :instance_type,
  :spot_instance_request_id,
  :instance_health)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


208
209
210
211
212
213
214
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 208

class ActiveInstance < Struct.new(
  :instance_id,
  :instance_type,
  :spot_instance_request_id,
  :instance_health)
  include Aws::Structure
end

#instance_typeString

The instance type.

Returns:

  • (String)


208
209
210
211
212
213
214
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 208

class ActiveInstance < Struct.new(
  :instance_id,
  :instance_type,
  :spot_instance_request_id,
  :instance_health)
  include Aws::Structure
end

#spot_instance_request_idString

The ID of the Spot Instance request.

Returns:

  • (String)


208
209
210
211
212
213
214
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 208

class ActiveInstance < Struct.new(
  :instance_id,
  :instance_type,
  :spot_instance_request_id,
  :instance_health)
  include Aws::Structure
end