CmdID / aws / aws resource-groups
aws resource-groups get-group-query
Retrieves the resource query associated with the specified resource group. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--group-nameDon't use this parameter.--groupThe name or the Amazon resource name (ARN) of the resource group to query.