Sets the health status of the specified instance
Sets the health status of the specified instance.
For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.
autoscaling_set_instance_health(InstanceId, HealthStatus, ShouldRespectGracePeriod)
InstanceId |
[required] The ID of the instance. |
HealthStatus |
[required] The health status of the instance. Set to |
ShouldRespectGracePeriod |
If the Auto Scaling group of the specified instance has a
For more information about the health check grace period, see
|
An empty list.
svc$set_instance_health( InstanceId = "string", HealthStatus = "string", ShouldRespectGracePeriod = TRUE|FALSE )
## Not run: # This example sets the health status of the specified instance to # Unhealthy. svc$set_instance_health( HealthStatus = "Unhealthy", InstanceId = "i-93633f9b" ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.