@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestBodyAssociatedResourceTypeConfig extends Object implements Serializable, Cloneable, StructuredPojo
Customizes the maximum size of the request body that your protected CloudFront, API Gateway, Amazon Cognito, App Runner, and Verified Access resources forward to 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 WAF Pricing.
Example JSON: { "API_GATEWAY": "KB_48", "APP_RUNNER_SERVICE": "KB_32" }
For Application Load Balancer and AppSync, the limit is fixed at 8 KB (8,192 bytes).
This is used in the AssociationConfig of the web ACL.
| Constructor and Description |
|---|
RequestBodyAssociatedResourceTypeConfig() |
| Modifier and Type | Method and Description |
|---|---|
RequestBodyAssociatedResourceTypeConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultSizeInspectionLimit()
Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon
Cognito, App Runner, or Verified Access resource should send to WAF for inspection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDefaultSizeInspectionLimit(String defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon
Cognito, App Runner, or Verified Access resource should send to WAF for inspection.
|
String |
toString()
Returns a string representation of this object.
|
RequestBodyAssociatedResourceTypeConfig |
withDefaultSizeInspectionLimit(SizeInspectionLimit defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon
Cognito, App Runner, or Verified Access resource should send to WAF for inspection.
|
RequestBodyAssociatedResourceTypeConfig |
withDefaultSizeInspectionLimit(String defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon
Cognito, App Runner, or Verified Access resource should send to WAF for inspection.
|
public RequestBodyAssociatedResourceTypeConfig()
public void setDefaultSizeInspectionLimit(String defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
defaultSizeInspectionLimit - Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway,
Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to
statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
SizeInspectionLimitpublic String getDefaultSizeInspectionLimit()
Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
Default: 16 KB (16,384 bytes)
SizeInspectionLimitpublic RequestBodyAssociatedResourceTypeConfig withDefaultSizeInspectionLimit(String defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
defaultSizeInspectionLimit - Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway,
Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to
statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
SizeInspectionLimitpublic RequestBodyAssociatedResourceTypeConfig withDefaultSizeInspectionLimit(SizeInspectionLimit defaultSizeInspectionLimit)
Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
defaultSizeInspectionLimit - Specifies the maximum size of the web request body component that an associated CloudFront, API Gateway,
Amazon Cognito, App Runner, or Verified Access resource should send to WAF for inspection. This applies to
statements in the web ACL that inspect the body or JSON body.
Default: 16 KB (16,384 bytes)
SizeInspectionLimitpublic String toString()
toString in class ObjectObject.toString()public RequestBodyAssociatedResourceTypeConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.