Class: Aws::AutoScaling::Types::Instance
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::Instance
- Defined in:
- gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb
Overview
Describes an EC2 instance.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#availability_zone ⇒ String
The Availability Zone in which the instance is running.
-
#health_status ⇒ String
The last reported health status of 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 associated with the instance.
-
#launch_template ⇒ Types::LaunchTemplateSpecification
The launch template for the instance.
-
#lifecycle_state ⇒ String
A description of the current lifecycle state.
-
#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
#availability_zone ⇒ String
The Availability Zone in which the instance is running.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#health_status ⇒ String
The last reported health status of the instance. Healthy
means
that the instance is healthy and should remain in service.
Unhealthy
means that the instance is unhealthy and that Amazon EC2
Auto Scaling should terminate and replace it.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#instance_type ⇒ String
The instance type of the EC2 instance.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#launch_configuration_name ⇒ String
The launch configuration associated with the instance.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#launch_template ⇒ Types::LaunchTemplateSpecification
The launch template for the instance.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |
#lifecycle_state ⇒ String
A description of the current lifecycle state. The Quarantined
state is not used. For more information, see Amazon EC2 Auto
Scaling instance lifecycle in the Amazon EC2 Auto Scaling User
Guide.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :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.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :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.
3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3446 class Instance < Struct.new( :instance_id, :instance_type, :availability_zone, :lifecycle_state, :health_status, :launch_configuration_name, :launch_template, :protected_from_scale_in, :weighted_capacity) SENSITIVE = [] include Aws::Structure end |