Class SizeConstraintSetSizeConstraint
- java.lang.Object
-
- com.pulumi.aws.wafregional.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:
- The type of comparison you want to perform. e.g., `EQ`, `NE`, `LT`, `GT`. See [docs](https://docs.aws.amazon.com/waf/latest/APIReference/API_wafRegional_SizeConstraint.html) for all supported values.
-
fieldToMatch
public SizeConstraintSetSizeConstraintFieldToMatch fieldToMatch()
- Returns:
- Specifies where in a web request to look for the size constraint.
-
size
public java.lang.Integer size()
- Returns:
- The size in bytes that you want to compare against the size of the specified `fieldToMatch`. Valid values are between 0 - 21474836480 bytes (0 - 20 GB).
-
textTransformation
public java.lang.String textTransformation()
- Returns:
- Text transformations used to eliminate 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 `fieldToMatch` before inspecting a request for a match. e.g., `CMD_LINE`, `HTML_ENTITY_DECODE` or `NONE`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_SizeConstraint.html#WAF-Type-SizeConstraint-TextTransformation) for all supported values. **Note:** if you choose `BODY` as `type`, you must choose `NONE` because CloudFront forwards only the first 8192 bytes for inspection.
-
builder
public static SizeConstraintSetSizeConstraint.Builder builder()
-
builder
public static SizeConstraintSetSizeConstraint.Builder builder(SizeConstraintSetSizeConstraint defaults)
-
-