Show / Hide Table of Contents

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rewriteconfig.html

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

string

Remarks

The maximum length of the string is 1,024 characters.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rewriteconfig.html#cfn-elasticloadbalancingv2-listenerrule-rewriteconfig-regex

Replace

The replacement string to use when rewriting the matched input.

string? Replace { get; }
Property Value

string

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).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rewriteconfig.html#cfn-elasticloadbalancingv2-listenerrule-rewriteconfig-replace

Back to top Generated by DocFX