Class: Aws::WAFV2::Types::WAFInvalidPermissionPolicyException
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::WAFInvalidPermissionPolicyException
- Defined in:
- gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb
Overview
The operation failed because the specified policy isn't in the proper format.
The policy specifications must conform to the following:
The policy must be composed using IAM Policy version 2012-10-17.
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
Instance Attribute Details
#message ⇒ String
9911 9912 9913 9914 9915 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 9911 class WAFInvalidPermissionPolicyException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end |