

# TextTransformation
<a name="API_TextTransformation"></a>

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

## Contents
<a name="API_TextTransformation_Contents"></a>

 ** Priority **   <a name="WAF-Type-TextTransformation-Priority"></a>
Sets the relative processing order for multiple transformations. Amazon 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 **   <a name="WAF-Type-TextTransformation-Type"></a>
For detailed descriptions of each of the transformation types, see [Text transformations](https://docs.amazonaws.cn/waf/latest/developerguide/waf-rule-statement-transformation.html) in the * Amazon 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
<a name="API_TextTransformation_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\$1\$1](https://docs.amazonaws.cn/goto/SdkForCpp/wafv2-2019-07-29/TextTransformation) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/wafv2-2019-07-29/TextTransformation) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/wafv2-2019-07-29/TextTransformation) 