aws ram get-resource-policies
Retrieves the resource policies for the specified resources that you own and have shared. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--max-resultsSpecifies the total number of results that you want included on each page of the response.--next-tokenSpecifies that you want to receive the next page of results.--principalSpecifies the principal.--resource-arnsSpecifies the Amazon Resource Names (ARNs) of the resources whose policies you want to retrieve.