NAME
Paws::WAFV2::PutPermissionPolicy - Arguments for method PutPermissionPolicy on Paws::WAFV2
DESCRIPTION
This class represents the parameters used for calling the method PutPermissionPolicy on the AWS WAFV2 service. Use the attributes of this class as arguments to method PutPermissionPolicy.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutPermissionPolicy.
SYNOPSIS
my $wafv2 = Paws->service('WAFV2');
my $PutPermissionPolicyResponse = $wafv2->PutPermissionPolicy(
Policy => 'MyPolicyString',
ResourceArn => 'MyResourceArn',
);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/wafv2/PutPermissionPolicy
ATTRIBUTES
REQUIRED Policy => Str
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
. 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html).
REQUIRED ResourceArn => Str
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
SEE ALSO
This class forms part of Paws, documenting arguments for method PutPermissionPolicy in Paws::WAFV2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues