Class: Aws::AutoScaling::Types::SetInstanceHealthQuery

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-autoscaling/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#health_statusString

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.

Returns:

  • (String)


6930
6931
6932
6933
6934
6935
6936
# File 'lib/aws-sdk-autoscaling/types.rb', line 6930

class SetInstanceHealthQuery < Struct.new(
  :instance_id,
  :health_status,
  :should_respect_grace_period)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


6930
6931
6932
6933
6934
6935
6936
# File 'lib/aws-sdk-autoscaling/types.rb', line 6930

class SetInstanceHealthQuery < Struct.new(
  :instance_id,
  :health_status,
  :should_respect_grace_period)
  SENSITIVE = []
  include Aws::Structure
end

#should_respect_grace_periodBoolean

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

CreateAutoScalingGroup][1

in the *Amazon EC2 Auto Scaling API

Reference*.

[1]: docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html

Returns:

  • (Boolean)


6930
6931
6932
6933
6934
6935
6936
# File 'lib/aws-sdk-autoscaling/types.rb', line 6930

class SetInstanceHealthQuery < Struct.new(
  :instance_id,
  :health_status,
  :should_respect_grace_period)
  SENSITIVE = []
  include Aws::Structure
end