Class: Aws::WAFV2::Types::PutPermissionPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::PutPermissionPolicyRequest
- Includes:
- Structure
- Defined in:
- 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`, and `Principal`.
-
‘Effect` must specify `Allow`.
-
‘Action` must specify `wafv2:CreateWebACL`, `wafv2:UpdateWebACL`, and `wafv2:PutFirewallManagerRuleGroups` and may optionally specify `wafv2: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].
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html
6206 6207 6208 6209 6210 6211 |
# File 'lib/aws-sdk-wafv2/types.rb', line 6206 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.
6206 6207 6208 6209 6210 6211 |
# File 'lib/aws-sdk-wafv2/types.rb', line 6206 class PutPermissionPolicyRequest < Struct.new( :resource_arn, :policy) SENSITIVE = [] include Aws::Structure end |