aws ec2 get-groups-for-capacity-reservation
Lists the resource groups to which a Capacity Reservation has been added. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--capacity-reservation-idThe ID of the Capacity Reservation.--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token to use to retrieve the next page of results.