CmdID / aws / aws autoscaling
aws autoscaling set-instance-health
Sets the health status of the specified instance. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--health-statusThe health status of the instance.--instance-idThe ID of the instance.--should-respect-grace-periodIf the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period.