CmdID / aws / aws resource-groups
aws resource-groups list-groups
Returns a list of existing Resource Groups in your account. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--filtersFilters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.--max-resultsThe total number of results that you want included on each page of the response.--next-tokenThe parameter for receiving additional results if you receive a NextToken response in a previous request.