Package com.pulumi.aws.waf.outputs
Class SizeConstraintSetSizeConstraint
- java.lang.Object
-
- com.pulumi.aws.waf.outputs.SizeConstraintSetSizeConstraint
-
public final class SizeConstraintSetSizeConstraint extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSizeConstraintSetSizeConstraint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SizeConstraintSetSizeConstraint.Builderbuilder()static SizeConstraintSetSizeConstraint.Builderbuilder(SizeConstraintSetSizeConstraint defaults)java.lang.StringcomparisonOperator()SizeConstraintSetSizeConstraintFieldToMatchfieldToMatch()java.lang.Integersize()java.lang.StringtextTransformation()
-
-
-
Method Detail
-
comparisonOperator
public java.lang.String comparisonOperator()
- Returns:
- Type of comparison you want to perform, such as `EQ`, `NE`, `LT`, or `GT`. Please refer to the [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_wafRegional_SizeConstraint.html) for a complete list of supported values.
-
fieldToMatch
public SizeConstraintSetSizeConstraintFieldToMatch fieldToMatch()
- Returns:
- Parameter that specifies where in a web request to look for the size constraint.
-
size
public java.lang.Integer size()
- Returns:
- Size in bytes that you want to compare against the size of the specified `fieldToMatch`. Valid values for `size` are between 0 and 21474836480 bytes (0 and 20 GB).
-
textTransformation
public java.lang.String textTransformation()
- Returns:
- Parameter is used to eliminate unusual formatting that attackers may use in web requests to bypass AWS WAF. When a transformation is specified, AWS WAF performs the transformation on the `fieldToMatch` before inspecting the request for a match. Some examples of supported transformations are `CMD_LINE`, `HTML_ENTITY_DECODE`, and `NONE`. You can find a complete list of supported values in the [AWS WAF API Reference](http://docs.aws.amazon.com/waf/latest/APIReference/API_SizeConstraint.html#WAF-Type-SizeConstraint-TextTransformation). **Note:** If you choose `BODY` as the `type`, you must also choose `NONE` because CloudFront only forwards the first 8192 bytes for inspection.
-
builder
public static SizeConstraintSetSizeConstraint.Builder builder()
-
builder
public static SizeConstraintSetSizeConstraint.Builder builder(SizeConstraintSetSizeConstraint defaults)
-
-