Class: Aws::AutoScaling::Types::SetInstanceHealthQuery
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::SetInstanceHealthQuery
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#health_status ⇒ String
The health status of the instance.
-
#instance_id ⇒ String
The ID of the instance.
-
#should_respect_grace_period ⇒ Boolean
If the Auto Scaling group of the specified instance has a ‘HealthCheckGracePeriod` specified for the group, by default, this call respects the grace period.
Instance Attribute Details
#health_status ⇒ String
The health status of the instance. Set to ‘Healthy` to have the instance remain in service. Set to `Unhealthy` to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.
7337 7338 7339 7340 7341 7342 7343 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 7337 class SetInstanceHealthQuery < Struct.new( :instance_id, :health_status, :should_respect_grace_period) SENSITIVE = [] include Aws::Structure end |
#instance_id ⇒ String
The ID of the instance.
7337 7338 7339 7340 7341 7342 7343 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 7337 class SetInstanceHealthQuery < Struct.new( :instance_id, :health_status, :should_respect_grace_period) SENSITIVE = [] include Aws::Structure end |
#should_respect_grace_period ⇒ Boolean
If the Auto Scaling group of the specified instance has a ‘HealthCheckGracePeriod` specified for the group, by default, this call respects the grace period. Set this to `False`, to have the call not respect the grace period associated with the group.
For more information about the health check grace period, see [Set the health check grace period for an Auto Scaling group] in the *Amazon EC2 Auto Scaling User Guide*.
[1]: docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
7337 7338 7339 7340 7341 7342 7343 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 7337 class SetInstanceHealthQuery < Struct.new( :instance_id, :health_status, :should_respect_grace_period) SENSITIVE = [] include Aws::Structure end |