config:PutConfigRule

Write

config:PutConfigRule is a Write access-level action in the config service. Grants permission to add or update an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations

Resource types

ARNs that config:PutConfigRule 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:PutConfigRule.

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

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

Related actions in config

View all config actions →