ram:ListPendingInvitationResources

Read

ram:ListPendingInvitationResources is a Read access-level action in the ram service. Grants permission to list the resources in a resource share that is shared with you but that the invitation is still pending for

Resource types

ARNs that ram:ListPendingInvitationResources can be scoped to in an IAM policy.

arn:${Partition}:ram:${Region}:${Account}:resource-share-invitation/${ResourcePath}
resource-share-invitation

Condition keys

Keys you can use in the Condition block of a policy that grants ram:ListPendingInvitationResources.

ram:ShareOwnerAccountId String

Filters access by resource shares owned by a specific account. For example, you can use this condition key to specify which resource share invitations can be accepted or rejected based on the resource share owner's account ID

Example IAM policy

A minimal policy that allows ram:ListPendingInvitationResources. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRamListPendingInvitationResources",
      "Effect": "Allow",
      "Action": "ram:ListPendingInvitationResources",
      "Resource": "*"
    }
  ]
}

Related actions in ram

View all ram actions →