config:DeleteConfigRule

Write

config:DeleteConfigRule is a Write access-level action in the config service. Grants permission to delete the specified AWS Config rule and all of its evaluation results

Resource types

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

arn:${Partition}:config:${Region}:${Account}:config-rule/${ConfigRuleId}
ConfigRule

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

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

Related actions in config

View all config actions →