Values.RuleTransformSourceInformation about a transform to apply to requests that match a rule. Transforms are applied to requests before they are sent to targets.
type nonrec t = {type_ : TransformTypeEnum.t;The type of transform. host-header-rewrite - Rewrite the host header. url-rewrite - Rewrite the request URL.
*)hostHeaderRewriteConfig : HostHeaderRewriteConfig.t option;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.
*)urlRewriteConfig : UrlRewriteConfig.t option;Information about a URL rewrite transform. This transform modifies the request URL. Specify only when Type is url-rewrite.
*)}val make :
?hostHeaderRewriteConfig:??? ->
?urlRewriteConfig:??? ->
type_:TransformTypeEnum.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of StringValue.t ]) list ]
list ])
list ])
list ]