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
ARNs that config:GetCustomRulePolicy can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants config:GetCustomRulePolicy.
Filters access by tag-value associated with the resource
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": "*"
}
]
}