Skip to content

RewriteConfig

Source code in docs_src/capo_elastic_load_balancing_v2/types/rewrite_config.py
class RewriteConfig(TypedDict, closed=True):
    regex: NotRequired["capo_elastic_load_balancing_v2.types.string_value.StringValue"]
    """<p>The regular expression to match in the input string. The maximum length of the string is 1,024 characters.</p>"""
    replace: NotRequired[
        "capo_elastic_load_balancing_v2.types.string_value.StringValue"
    ]
    """<p>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).</p>"""

regex instance-attribute

regex: NotRequired[StringValue]

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

replace instance-attribute

replace: NotRequired[StringValue]

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