Class SizeConstraintSetSizeConstraintArgs


  • public final class SizeConstraintSetSizeConstraintArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • comparisonOperator

        public com.pulumi.core.Output<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.
      • size

        public com.pulumi.core.Output<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 com.pulumi.core.Output<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.