ram:RejectResourceShareInvitation

Write

ram:RejectResourceShareInvitation is a Write access-level action in the ram service. Grants permission to reject the specified resource share invitation

Resource types

ARNs that ram:RejectResourceShareInvitation 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:RejectResourceShareInvitation.

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:RejectResourceShareInvitation. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in ram

View all ram actions →