class Aws::AutoScaling::Types::AutoScalingInstanceDetails

Describes an EC2 instance associated with an Auto Scaling group.

@!attribute [rw] instance_id

The ID of the instance.
@return [String]

@!attribute [rw] instance_type

The instance type of the EC2 instance.
@return [String]

@!attribute [rw] auto_scaling_group_name

The name of the Auto Scaling group for the instance.
@return [String]

@!attribute [rw] availability_zone

The Availability Zone for the instance.
@return [String]

@!attribute [rw] lifecycle_state

The lifecycle state for the instance. The `Quarantined` state is not
used. For information about lifecycle states, see [Instance
lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.

Valid Values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
`Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait`
\| `Terminating:Proceed` \| `Terminated` \| `Detaching` \|
`Detached` \| `EnteringStandby` \| `Standby` \| `Warmed:Pending` \|
`Warmed:Pending:Wait` \| `Warmed:Pending:Proceed` \|
`Warmed:Terminating` \| `Warmed:Terminating:Wait` \|
`Warmed:Terminating:Proceed` \| `Warmed:Terminated` \|
`Warmed:Stopped` \| `Warmed:Running`

[1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
@return [String]

@!attribute [rw] health_status

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.
@return [String]

@!attribute [rw] launch_configuration_name

The launch configuration used to launch the instance. This value is
not available if you attached the instance to the Auto Scaling
group.
@return [String]

@!attribute [rw] launch_template

The launch template for the instance.
@return [Types::LaunchTemplateSpecification]

@!attribute [rw] protected_from_scale_in

Indicates whether the instance is protected from termination by
Amazon EC2 Auto Scaling when scaling in.
@return [Boolean]

@!attribute [rw] weighted_capacity

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

Valid Range: Minimum value of 1. Maximum value of 999.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingInstanceDetails AWS API Documentation

Constants

SENSITIVE