TextTransformation - AWS WAFV2
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

TextTransformation

Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.

Contents

Priority

Sets the relative processing order for multiple transformations. AWS WAF processes all transformations, from lowest priority to highest, before inspecting the transformed content. The priorities don't need to be consecutive, but they must all be different.

Type: Integer

Valid Range: Minimum value of 0.

Required: Yes

Type

For detailed descriptions of each of the transformation types, see Text transformations in the AWS WAF Developer Guide.

Type: String

Valid Values: NONE | COMPRESS_WHITE_SPACE | HTML_ENTITY_DECODE | LOWERCASE | CMD_LINE | URL_DECODE | BASE64_DECODE | HEX_DECODE | MD5 | REPLACE_COMMENTS | ESCAPE_SEQ_DECODE | SQL_HEX_DECODE | CSS_DECODE | JS_DECODE | NORMALIZE_PATH | NORMALIZE_PATH_WIN | REMOVE_NULLS | REPLACE_NULLS | BASE64_DECODE_EXT | URL_DECODE_UNI | UTF8_TO_UNICODE

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: