ram:UntagResource

Tagging

ram:UntagResource is a Tagging access-level action in the ram service. Grants permission to untag the specified resource share or permission

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

ram:AllowsExternalPrincipals Bool

Filters access by resource shares that allow or deny sharing with external principals. For example, specify true if the action can only be performed on resource shares that allow sharing with external principals. External principals are AWS accounts that are outside of its AWS organization

ram:PermissionArn ARN

Filters access by the specified Permission ARN

ram:PermissionResourceType String

Filters access by permissions of specified resource type

ram:ResourceShareName String

Filters access by a resource share with the specified name

Example IAM policy

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

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

Related actions in ram

View all ram actions →