config:GetCustomRulePolicy

Read

config:GetCustomRulePolicy is a Read access-level action in the config service. Grants permission to return the policy definition containing the logic for your AWS Config Custom Policy rule

Resource types

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

aws:ResourceTag/${TagKey} String

Filters access by tag-value associated with the resource

Example IAM policy

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

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

Related actions in config

View all config actions →