ram:GetPermission

Read

ram:GetPermission is a Read access-level action in the ram service. Grants permission to get the contents of an AWS RAM permission

Resource types

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

arn:${Partition}:ram:${Region}:${Account}:permission/${ResourcePath}
customer-managed-permission
arn:${Partition}:ram::${Account}:permission/${ResourcePath}
permission

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

ram:PermissionArn ARN

Filters access by the specified Permission ARN

ram:PermissionResourceType String

Filters access by permissions of specified resource type

Example IAM policy

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

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

Related actions in ram

View all ram actions →