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.
Constant Summary collapse
- SENSITIVE =
[]
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.
-
#image_id ⇒ String
The ID of the Amazon Machine Image (AMI) associated with the instance.
-
#instance_id ⇒ String
The ID of the instance.
-
#instance_type ⇒ String
The instance type of the EC2 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.
-
#weighted_capacity ⇒ String
The number of capacity units contributed by the instance based on its instance type.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group for the instance.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#availability_zone ⇒ String
The Availability Zone for the instance.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] 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.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#image_id ⇒ String
The ID of the Amazon Machine Image (AMI) associated with the instance. This field shows the current AMI ID of the instance’s root volume. It may differ from the original AMI used when the instance was first launched.
This field appears for:
-
Instances with root volume replacements through Instance Refresh
-
Instances launched with AMI overrides
This field won’t appear for:
-
Existing instances launched from Launch Templates without overrides
-
Existing instances that didn’t have their root volume replaced through Instance Refresh
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#instance_type ⇒ String
The instance type of the EC2 instance.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] 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.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#launch_template ⇒ Types::LaunchTemplateSpecification
The launch template for the instance.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#lifecycle_state ⇒ String
The lifecycle state for the instance. The ‘Quarantined` state is not used. For more information, see [Amazon EC2 Auto Scaling instance lifecycle] 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]: docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] 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.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#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.
729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 729 class AutoScalingInstanceDetails < Struct.new( :instance_id, :instance_type, :auto_scaling_group_name, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :image_id, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |