waf:GetPermissionPolicy

Read

waf:GetPermissionPolicy is a Read access-level action in the waf service. Grants permission to retrieve an IAM policy for a rule group

Resource types

ARNs that waf:GetPermissionPolicy can be scoped to in an IAM policy.

arn:${Partition}:waf::${Account}:rulegroup/${Id}
rulegroup

Condition keys

Keys you can use in the Condition block of a policy that grants waf:GetPermissionPolicy.

aws:ResourceTag/${TagKey} String

Filters actions based on tag-value associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWafGetPermissionPolicy",
      "Effect": "Allow",
      "Action": "waf:GetPermissionPolicy",
      "Resource": "*"
    }
  ]
}

Related actions in waf

View all waf actions →