AWS::ElasticLoadBalancingV2::ListenerRule RewriteConfig - AWS CloudFormation

This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 AWS 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