aws ssm list-nodes
Takes in filters and returns a list of managed nodes matching the filter criteria. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--filtersOne or more filters.--max-resultsThe maximum number of items to return for this call.--next-tokenThe token for the next set of items to return.--sync-nameThe name of the Amazon Web Services managed resource data sync to retrieve information about.