config:UntagResource

Tagging

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

Resource types

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

arn:${Partition}:config:${Region}:${Account}:aggregation-authorization/${AggregatorAccount}/${AggregatorRegion}
AggregationAuthorization
arn:${Partition}:config:${Region}:${Account}:config-rule/${ConfigRuleId}
ConfigRule
arn:${Partition}:config:${Region}:${Account}:config-aggregator/${AggregatorId}
ConfigurationAggregator
arn:${Partition}:config:${Region}:${Account}:configuration-recorder/${RecorderName}/${RecorderId}
ConfigurationRecorder
arn:${Partition}:config:${Region}:${Account}:conformance-pack/${ConformancePackName}/${ConformancePackId}
ConformancePack
arn:${Partition}:config:${Region}:${Account}:connector/${Provider}/${ProviderId}/${ConnectorId}
Connector
arn:${Partition}:config:${Region}:${Account}:organization-config-rule/${OrganizationConfigRuleId}
OrganizationConfigRule
arn:${Partition}:config:${Region}:${Account}:organization-conformance-pack/${OrganizationConformancePackId}
OrganizationConformancePack
arn:${Partition}:config:${Region}:${Account}:stored-query/${StoredQueryName}/${StoredQueryId}
StoredQuery

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

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

Related actions in config

View all config actions →