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

Class: Aws::AutoScaling::Types::AutoScalingInstanceDetails

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes an EC2 instance associated with an Auto Scaling group.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_name ⇒ String

The name of the Auto Scaling group for the instance.

Returns:

  • (String) —

    The name of the Auto Scaling group for the instance.

#availability_zone ⇒ String

The Availability Zone for the instance.

Returns:

  • (String) —

    The Availability Zone for the instance.

#health_status ⇒ String

The last reported health status of this instance. \"Healthy\" means that the instance is healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.

Returns:

  • (String) —

    The last reported health status of this instance.

#instance_id ⇒ String

The ID of the instance.

Returns:

  • (String) —

    The ID of the instance.

#instance_type ⇒ String

The instance type of the EC2 instance.

Returns:

  • (String) —

    The instance type of the EC2 instance.

#launch_configuration_name ⇒ String

The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

Returns:

  • (String) —

    The launch configuration used to launch the instance.

#launch_template ⇒ Types::LaunchTemplateSpecification

The launch template for the instance.

Returns:

#lifecycle_state ⇒ String

The lifecycle state for the instance.

Returns:

  • (String) —

    The lifecycle state for the instance.

#protected_from_scale_in ⇒ Boolean

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

Returns:

  • (Boolean) —

    Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

#weighted_capacity ⇒ String

The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.

Returns:

  • (String) —

    The number of capacity units contributed by the instance based on its instance type.