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::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.

Constant Summary collapse

SENSITIVE =
[]

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)

529
530
531
532
533
534
535
536
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 529

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

#instance_idString

The ID of the instance.

Returns:

  • (String)

529
530
531
532
533
534
535
536
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 529

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

#instance_typeString

The instance type.

Returns:

  • (String)

529
530
531
532
533
534
535
536
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 529

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

#spot_instance_request_idString

The ID of the Spot Instance request.

Returns:

  • (String)

529
530
531
532
533
534
535
536
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 529

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