aws ssm list-nodes-summary
Generates a summary of managed instance/node metadata based on the filters and aggregators you specify. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--aggregatorsSpecify one or more aggregators to return a count of managed nodes that match that expression.--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.