Interface CfnListenerRulePropsMixin.IRewriteConfigProperty
Information about a rewrite transform.
Namespace: Amazon.CDK.Mixins.Preview.AWS.ElasticLoadBalancingV2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnListenerRulePropsMixin.IRewriteConfigProperty
Syntax (vb)
Public Interface CfnListenerRulePropsMixin.IRewriteConfigProperty
Remarks
This transform matches a pattern and replaces it with the specified string.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.ElasticLoadBalancingV2.Mixins;
var rewriteConfigProperty = new RewriteConfigProperty {
Regex = "regex",
Replace = "replace"
};
Synopsis
Properties
| Regex | The regular expression to match in the input string. |
| Replace | The replacement string to use when rewriting the matched input. |
Properties
Regex
The regular expression to match in the input string.
string? Regex { get; }
Property Value
Remarks
The maximum length of the string is 1,024 characters.
Replace
The replacement string to use when rewriting the matched input.
string? Replace { get; }
Property Value
Remarks
The maximum length of the string is 1,024 characters. You can specify capture groups in the regular expression (for example, $1 and $2).