Attaches an IAM policy to the specified resource. Use this to share a rule group across accounts.
You must be the owner of the rule group to perform this operation.
This action is subject to the following restrictions:
-
You can attach only one policy with each PutPermissionPolicy request.
-
The ARN in the request must be a valid WAF RuleGroup ARN and the rule group must exist in the same Region.
-
The user making the request must be the owner of the rule group.
post/#X-Amz-Target=AWSWAF_20190729.PutPermissionPolicy
Headers
X-Amz-Target'AWSWAF_20190729.PutPermissionPolicy' required
Request body
Response
Success
PutPermissionPolicyResponse required