RuleTransform
¶
Source code in docs_src/capo_elastic_load_balancing_v2/types/rule_transform.py
host_header_rewrite_config
instance-attribute
¶
host_header_rewrite_config: NotRequired[HostHeaderRewriteConfig]
Information about a host header rewrite transform. This transform modifies the host header in an HTTP request. Specify only when Type is host-header-rewrite.
type
instance-attribute
¶
type: NotRequired[TransformTypeEnum]
The type of transform.
-
host-header-rewrite- Rewrite the host header. -
url-rewrite- Rewrite the request URL.
url_rewrite_config
instance-attribute
¶
url_rewrite_config: NotRequired[UrlRewriteConfig]
Information about a URL rewrite transform. This transform modifies the request URL. Specify only when Type is url-rewrite.