securityagent:UntagResource

Tagging

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

Resource types

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

arn:${Partition}:securityagent:${Region}:${Account}:agent-space/${AgentId}
AgentSpace
arn:${Partition}:securityagent:${Region}:${Account}:application/${ApplicationId}
Application
arn:${Partition}:securityagent:${Region}:${Account}:integration/${IntegrationId}
Integration
arn:${Partition}:securityagent:${Region}:${Account}:private-connection/${PrivateConnectionName}
PrivateConnection
arn:${Partition}:securityagent:${Region}:${Account}:security-requirement-pack/${SecurityRequirementPackId}
SecurityRequirementPack
arn:${Partition}:securityagent:${Region}:${Account}:target-domain/${TargetDomainId}
TargetDomain

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in securityagent

View all securityagent actions →