Class CfnWebACLPropsMixin.AssociationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWebACLPropsMixin.AssociationConfigProperty>
- Enclosing interface:
CfnWebACLPropsMixin.AssociationConfigProperty
CfnWebACLPropsMixin.AssociationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.requestBody(Map<String, ? extends Object> requestBody) Sets the value ofCfnWebACLPropsMixin.AssociationConfigProperty.getRequestBody()requestBody(IResolvable requestBody) Sets the value ofCfnWebACLPropsMixin.AssociationConfigProperty.getRequestBody()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
requestBody
@Stability(Stable) public CfnWebACLPropsMixin.AssociationConfigProperty.Builder requestBody(IResolvable requestBody) Sets the value ofCfnWebACLPropsMixin.AssociationConfigProperty.getRequestBody()- Parameters:
requestBody- Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to AWS WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types.You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see AWS WAF Pricing .
Example JSON:
{ "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32" }For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes).
- Returns:
this
-
requestBody
@Stability(Stable) public CfnWebACLPropsMixin.AssociationConfigProperty.Builder requestBody(Map<String, ? extends Object> requestBody) Sets the value ofCfnWebACLPropsMixin.AssociationConfigProperty.getRequestBody()- Parameters:
requestBody- Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to AWS WAF for inspection. The default size is 16 KB (16,384 bytes). You can change the setting for any of the available resource types.You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see AWS WAF Pricing .
Example JSON:
{ "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32" }For Application Load Balancer and AWS AppSync , the limit is fixed at 8 KB (8,192 bytes).
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWebACLPropsMixin.AssociationConfigProperty>- Returns:
- a new instance of
CfnWebACLPropsMixin.AssociationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-