q:UntagResource

Tagging

q:UntagResource is a Tagging access-level action in the q service. Grants permission to remove tags associated with an Amazon Q resource

Resource types

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

arn:${Partition}:qdeveloper:${Region}:${Account}:plugin/${Identifier}
plugin
arn:${Partition}:codewhisperer:${Region}:${Account}:profile/${Identifier}
profile

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the Amazon Q resource

Example IAM policy

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

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

Related actions in q

View all q actions →