CmdID / aws / aws resource-groups
aws resource-groups group-resources
Adds the specified resources to the specified group. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--groupThe name or the Amazon resource name (ARN) of the resource group to add resources to.--resource-arnsThe list of Amazon resource names (ARNs) of the resources to be added to the group.