CmdID / aws / aws servicediscovery
aws servicediscovery get-instances-health-status
Gets the current health status (Healthy, Unhealthy, or Unknown) of one or more instances that are associated with a specified service. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--instancesAn array that contains the IDs of all the instances that you want to get the health status for.--max-resultsThe maximum number of instances that you want Cloud Map to return in the response to a GetInstancesHealthStatus request.--next-tokenFor the first GetInstancesHealthStatus request, omit this value.--service-idThe ID or Amazon Resource Name (ARN) of the service that the instance is associated with.