aws ram list-resources
Lists the resources that you added to a resource share or the resources that are shared with you. AWS CLI reference
8 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 that you want to list only the resource shares that are associated with the specified principal.--resource-arnsSpecifies that you want to list only the resource shares that include resources with the specified Amazon Resource Names (ARNs).--resource-ownerSpecifies that you want to list only the resource shares that match the following: SELF – resources that your account shares with other accounts OTHER-ACCOUNTS – resources that other accounts share with your account--resource-region-scopeSpecifies that you want the results to include only resources that have the specified scope.--resource-share-arnsSpecifies that you want to list only resources in the resource shares identified by the specified Amazon Resource Names (ARNs).--resource-typeSpecifies that you want to list only the resource shares that include resources of the specified resource type.