

# RewriteConfig


Information about a rewrite transform. This transform matches a pattern and replaces it with the specified string.

## Contents


 ** Regex **   
The regular expression to match in the input string. The maximum length of the string is 1,024 characters.  
Type: String  
Required: Yes

 ** Replace **   
The replacement string to use when rewriting the matched input. The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, \$11 and \$12).  
Type: String  
Required: Yes

## See Also


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/elasticloadbalancingv2-2015-12-01/RewriteConfig) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/elasticloadbalancingv2-2015-12-01/RewriteConfig) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/elasticloadbalancingv2-2015-12-01/RewriteConfig) 