This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
wafregional_get_permission_policy(ResourceArn)
[required] The Amazon Resource Name (ARN) of the RuleGroup for which you want to get the policy.
svc$get_permission_policy( ResourceArn = "string" )
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Returns the IAM policy attached to the RuleGroup.