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)


162
163
164
165
166
167
168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 162

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)


162
163
164
165
166
167
168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 162

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)


162
163
164
165
166
167
168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 162

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)


162
163
164
165
166
167
168
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 162

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