AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Specifies a constraint on the size of a part of the web request. AWS WAF uses the
to build an expression in the form of "
size in bytes of
FieldToMatch". If that expression is true, the
is considered to match.
public class SizeConstraint
The SizeConstraint type exposes the following members
Gets and sets the property ComparisonOperator.
The type of comparison you want AWS WAF to perform. AWS WAF uses this in combination
with the provided
EQ: Used to test if the
NE: Used to test if the
LE: Used to test if the
LT: Used to test if the
GE: Used to test if the
GT: Used to test if the
Gets and sets the property FieldToMatch.
Specifies where in a web request to look for the size constraint.
Gets and sets the property Size.
The size in bytes that you want AWS WAF to compare against the size of the specified
Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).
If you specify
Gets and sets the property TextTransformation.
Text transformations eliminate some of the unusual formatting that attackers use in
web requests in an effort to bypass AWS WAF. If you specify a transformation, AWS
WAF performs the transformation on
Note that if you choose
When you're concerned that attackers are injecting an operating system command line command and using unusual formatting to disguise some or all of the command, use this option to perform the following transformations:
Use this option to replace the following characters with a space character (decimal 32):
Use this option to replace HTML-encoded characters with unencoded characters.
Use this option to convert uppercase letters (A-Z) to lowercase (a-z).
Use this option to decode a URL-encoded value.
Supported in: 1.3
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms