CmdID / aws / aws servicediscovery
aws servicediscovery list-instances
Lists summary information about the instances that you registered by using a specified service. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--max-resultsThe maximum number of instances that you want Cloud Map to return in the response to a ListInstances request.--next-tokenFor the first ListInstances request, omit this value.--service-idThe ID or Amazon Resource Name (ARN) of the service that you want to list instances for.