This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
See https://www.paws-r-sdk.com/docs/wafregional_put_permission_policy/ for full documentation.
wafregional_put_permission_policy(ResourceArn, Policy)
[required] The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
[required] The policy to attach to the specified RuleGroup.