Class: Aws::WAFV2::Types::PutPermissionPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::PutPermissionPolicyRequest
- Defined in:
- gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#policy ⇒ String
The policy to attach to the specified rule group.
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
Instance Attribute Details
#policy ⇒ String
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.
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.
6214 6215 6216 6217 6218 6219 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6214 class PutPermissionPolicyRequest < Struct.new( :resource_arn, :policy) SENSITIVE = [] include Aws::Structure end |
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
6214 6215 6216 6217 6218 6219 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6214 class PutPermissionPolicyRequest < Struct.new( :resource_arn, :policy) SENSITIVE = [] include Aws::Structure end |