Class: Aws::AutoScaling::Types::AutoScalingInstanceDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::AutoScalingInstanceDetails
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
Describes an EC2 instance associated with an Auto Scaling group.
Instance Attribute Summary collapse
-
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group for the instance.
-
#availability_zone ⇒ String
The Availability Zone for the instance.
-
#health_status ⇒ String
The last reported health status of this instance.
-
#instance_id ⇒ String
The ID of the instance.
-
#launch_configuration_name ⇒ String
The launch configuration used to launch the instance.
-
#launch_template ⇒ Types::LaunchTemplateSpecification
The launch template for the instance.
-
#lifecycle_state ⇒ 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.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group for the instance.
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 472 class AutoScalingInstanceDetails < Struct.new( :instance_id, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in) include Aws::Structure end |
#availability_zone ⇒ String
The Availability Zone for the instance.
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 472 class AutoScalingInstanceDetails < Struct.new( :instance_id, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in) include Aws::Structure end |
#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.
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 472 class AutoScalingInstanceDetails < Struct.new( :instance_id, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in) include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance.
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 472 class AutoScalingInstanceDetails < Struct.new( :instance_id, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in) include Aws::Structure end |
#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.
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 472 class AutoScalingInstanceDetails < Struct.new( :instance_id, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in) include Aws::Structure end |
#launch_template ⇒ Types::LaunchTemplateSpecification
The launch template for the instance.
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 472 class AutoScalingInstanceDetails < Struct.new( :instance_id, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in) include Aws::Structure end |
#lifecycle_state ⇒ String
The lifecycle state for the instance. For more information, see
- Auto Scaling Lifecycle][1
-
in the *Amazon EC2 Auto Scaling User
Guide*.
[1]: docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 472 class AutoScalingInstanceDetails < Struct.new( :instance_id, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in) include Aws::Structure end |
#protected_from_scale_in ⇒ Boolean
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
472 473 474 475 476 477 478 479 480 481 482 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 472 class AutoScalingInstanceDetails < Struct.new( :instance_id, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in) include Aws::Structure end |