CmdID / aws / aws servicediscovery
aws servicediscovery update-instance-custom-health-status
Submits a request to change the health status of a custom health check to healthy or unhealthy. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--instance-idThe ID of the instance that you want to change the health status for.--service-idThe ID or Amazon Resource Name (ARN) of the service that includes the configuration for the custom health check that you want to change the status for.--statusThe new status of the instance, HEALTHY or UNHEALTHY.