class Aws::AutoScaling::Types::SetInstanceHealthQuery

@note When making an API call, you may pass SetInstanceHealthQuery

data as a hash:

    {
      instance_id: "XmlStringMaxLen19", # required
      health_status: "XmlStringMaxLen32", # required
      should_respect_grace_period: false,
    }

@!attribute [rw] instance_id

The ID of the instance.
@return [String]

@!attribute [rw] health_status

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.
@return [String]

@!attribute [rw] should_respect_grace_period

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]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html
@return [Boolean]

@see docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthQuery AWS API Documentation

Constants

SENSITIVE