Viewing resource shares shared with you - Amazon Resource Access Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Viewing resource shares shared with you

You can view the resource shares to which you have access. You can see which principals are sharing resources with you and which resources they're sharing.

To view the resource shares
  1. Navigate to the Shared with me : Resource shares page in the Amazon RAM console.

  2. Because Amazon RAM resource shares exist in specific Amazon Web Services Regions, choose the appropriate Amazon Web Services Region from the dropdown list in the upper-right corner of the console. To see resource shares that contain global resources, you must set the Amazon Web Services Region to US East (N. Virginia), (us-east-1). For more information about sharing global resources, see Sharing Regional resources compared to global resources.

  3. (Optional) Apply a filter to find specific resource shares. You can apply multiple filters to narrow your search. You can type a keyword, such as part of a resource share name to list only those resource shares that include that text in the name. Choose the text box to see a dropdown list of suggested attribute fields. After you choose one, you can choose from the list of available values for that field. You can add other attributes or keywords until you find the resource you want.

  4. The Amazon RAM console displays the following information:

    • Name – The name of the resource share.

    • ID – The ID of the resource share. Choose the ID to view the details page for the resource share.

    • Owner – The ID of the Amazon Web Services account that created the resource share.

    • Status – The current status of the resource share. Possible values include:

      • Active – The resource share is active and available for use.

      • Deleted – The resource share is deleted and is no longer available for use.

      • Pending – An invitation to accept the resource share is waiting for a response.

Amazon CLI
To view the resource shares

Use the get-resource-shares command with the --resource-owner parameter set to OTHER-ACCOUNTS.

The following example shows the list of resource shares shared in the specified Amazon Web Services Region with the calling account by other Amazon Web Services accounts.

$ aws ram get-resource-shares \ --region us-east-1 \ --resource-owner OTHER-ACCOUNTS { "resourceShares": [ { "resourceShareArn": "arn:aws-cn:ram:us-east-1:111111111111:resource-share/8b831ba0-63df-4608-be3c-19096b1ee16e", "name": "Prod Env Shared Licenses", "owningAccountId": "111111111111", "allowExternalPrincipals": true, "status": "ACTIVE", "creationTime": "2021-09-21T08:50:41.308000-07:00", "lastUpdatedTime": "2021-09-21T08:50:41.308000-07:00", "featureSet": "STANDARD" }, { "resourceShareArn": "arn:aws-cn:ram:us-east-1:222222222222:resource-share/c4506c70-df75-4e6c-ac30-42ca03295a37", "name": "Prod Env Shared Subnets", "owningAccountId": "222222222222", "allowExternalPrincipals": true, "status": "ACTIVE", "creationTime": "2021-09-21T08:56:24.737000-07:00", "lastUpdatedTime": "2021-09-21T08:56:24.737000-07:00", "featureSet": "STANDARD" } ] }