AWS::ElasticLoadBalancingV2::ListenerRule RewriteConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::ElasticLoadBalancingV2::ListenerRule RewriteConfig

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

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Regex" : String, "Replace" : String }

YAML

Regex: String Replace: String

Properties

Regex

The regular expression to match in the input string. The maximum length of the string is 1,024 characters.

Required: Yes

Type: String

Update requires: No interruption

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, $1 and $2).

Required: Yes

Type: String

Update requires: No interruption