PutPermissionPolicyRequest
import type { PutPermissionPolicyRequest } from "https://aws-api.deno.dev/v0.4/services/wafv2.ts?docs=full";
interface PutPermissionPolicyRequest {
Policy: string;
ResourceArn: string;
}§Properties
§
Policy: string
[src]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
, andPrincipal
. Effect
must specifyAllow
.Action
must specifywafv2:CreateWebACL
,wafv2:UpdateWebACL
, andwafv2:PutFirewallManagerRuleGroups
and may optionally specifywafv2:GetRuleGroup
. 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.