Set Instance Health
| autoscaling_set_instance_health | R Documentation | 
Sets the health status of the specified instance¶
Description¶
Sets the health status of the specified instance.
For more information, see Set up a custom health check for your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
Usage¶
autoscaling_set_instance_health(InstanceId, HealthStatus,
  ShouldRespectGracePeriod)
Arguments¶
| 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 Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. | 
Value¶
An empty list.
Request syntax¶
svc$set_instance_health(
  InstanceId = "string",
  HealthStatus = "string",
  ShouldRespectGracePeriod = TRUE|FALSE
)
Examples¶
## 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)