public static interface PutPermissionPolicyRequest.Builder extends Wafv2Request.Builder, SdkPojo, CopyableBuilder<PutPermissionPolicyRequest.Builder,PutPermissionPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
PutPermissionPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutPermissionPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutPermissionPolicyRequest.Builder |
policy(String policy)
The policy to attach to the specified rule group.
|
PutPermissionPolicyRequest.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutPermissionPolicyRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
resourceArn - The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.PutPermissionPolicyRequest.Builder policy(String policy)
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.
policy - 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.
PutPermissionPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutPermissionPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.