Class ByteMatchSetByteMatchTuple


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

      • positionalConstraint

        public java.lang.String positionalConstraint()
        Returns:
        Within the portion of a web request that you want to search (for example, in the query string, if any), specify where you want to search. e.g., `CONTAINS`, `CONTAINS_WORD` or `EXACTLY`. See [docs](http://docs.aws.amazon.com/waf/latest/APIReference/API_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-PositionalConstraint) for all supported values.
      • targetString

        public java.util.Optional<java.lang.String> targetString()
        Returns:
        The value that you want to search for within the field specified by `field_to_match`, e.g., `badrefer1`. See [docs](https://docs.aws.amazon.com/waf/latest/APIReference/API_waf_ByteMatchTuple.html) for all supported values.
      • 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 `target_string` 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_ByteMatchTuple.html#WAF-Type-ByteMatchTuple-TextTransformation) for all supported values.