aws wafv2 put-permission-policy
Use this to share a rule group with other accounts. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--policyThe policy to attach to the specified rule group.--resource-arnThe Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.