Class RuleGroupRuleStatementByteMatchStatement


  • public final class RuleGroupRuleStatementByteMatchStatement
    extends java.lang.Object
    • Method Detail

      • positionalConstraint

        public java.lang.String positionalConstraint()
        Returns:
        Area within the portion of a web request that you want AWS WAF to search for `searchString`. Valid values include the following: `EXACTLY`, `STARTS_WITH`, `ENDS_WITH`, `CONTAINS`, `CONTAINS_WORD`. See the AWS [documentation](https://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchStatement.html) for more information.
      • preParseTextTransformations

        public java.util.List<RuleGroupRuleStatementByteMatchStatementPreParseTextTransformation> preParseTextTransformations()
        Returns:
        Text transformations to apply to the raw query string before AWS WAF parses the string into individual query arguments, and before any `textTransformation` is applied. Supported only when `fieldToMatch` specifies `singleQueryArgument` or `allQueryArguments`. Maximum of 10. See Pre-Parse Text Transformation below for details.
      • searchString

        public java.lang.String searchString()
        Returns:
        String value that you want AWS WAF to search for. AWS WAF searches only in the part of web requests that you designate for inspection in `fieldToMatch`. The maximum length of the value is 50 bytes.
      • textTransformations

        public java.util.List<RuleGroupRuleStatementByteMatchStatementTextTransformation> textTransformations()
        Returns:
        Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. At least one required. See Text Transformation below for details.