class Aws::WAFV2::Types::PutPermissionPolicyRequest

@note When making an API call, you may pass PutPermissionPolicyRequest

data as a hash:

    {
      resource_arn: "ResourceArn", # required
      policy: "PolicyString", # required
    }

@!attribute [rw] resource_arn

The Amazon Resource Name (ARN) of the RuleGroup to which you want to
attach the policy.
@return [String]

@!attribute [rw] policy

The policy to attach to the specified rule group.

The policy specifications must conform to the following:

* The policy must be composed using IAM Policy version 2012-10-17 or
  version 2015-01-01.

* The policy must include specifications for `Effect`, `Action`, and
  `Principal`.

* `Effect` must specify `Allow`.

* `Action` must specify `wafv2:CreateWebACL`, `wafv2:UpdateWebACL`,
  and `wafv2:PutFirewallManagerRuleGroups`. WAF rejects any extra
  actions or wildcard actions in the policy.

* The policy must not include a `Resource` parameter.

For more information, see [IAM Policies][1].

[1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutPermissionPolicyRequest AWS API Documentation

Constants

SENSITIVE