Set Instance Health

GET {{aws_auto_scaling_api_base_url}}/?HealthStatus&InstanceId&ShouldRespectGracePeriod&Action=SetInstanceHealth

Request Params

KeyDatatypeRequiredDescription
HealthStatusnullThe 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.
InstanceIdnullThe ID of the instance.
ShouldRespectGracePeriodnullIf 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.
Actionstring