ram:AcceptResourceShareInvitation

Write

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

Resource types

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

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

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

Related actions in ram

View all ram actions →