CmdID / aws / aws deploy
aws deploy list-deployment-instances
The newer BatchGetDeploymentTargets should be used instead because it works with all compute types. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--deployment-idThe unique ID of a deployment.--instance-status-filterA subset of instances to list by status: Pending: Include those instances with pending deployments.--instance-type-filterThe set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in the replacement environment ("GREEN"), for which you want to view instance information.--next-tokenAn identifier returned from the previous list deployment instances call.