tnb:UntagResource

Tagging

tnb:UntagResource is a Tagging access-level action in the tnb service. Grants permission to remove tags from the specified resource

Resource types

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

arn:${Partition}:tnb:${Region}:${Account}:function-instance/${FunctionInstanceId}
function-instance
arn:${Partition}:tnb:${Region}:${Account}:function-package/${FunctionPackageId}
function-package
arn:${Partition}:tnb:${Region}:${Account}:network-instance/${NetworkInstanceId}
network-instance
arn:${Partition}:tnb:${Region}:${Account}:network-operation/${NetworkOperationId}
network-operation
arn:${Partition}:tnb:${Region}:${Account}:network-package/${NetworkPackageId}
network-package

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by checking tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in tnb

View all tnb actions →