HttpRouteURLRewriteArgs

data class HttpRouteURLRewriteArgs(val hostRewrite: Output<String>? = null, val pathPrefixRewrite: Output<String>? = null) : ConvertibleToJava<HttpRouteURLRewriteArgs>

The specification for modifying the URL of the request, prior to forwarding the request to the destination.

Constructors

Link copied to clipboard
constructor(hostRewrite: Output<String>? = null, pathPrefixRewrite: Output<String>? = null)

Properties

Link copied to clipboard
val hostRewrite: Output<String>? = null

Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

Link copied to clipboard
val pathPrefixRewrite: Output<String>? = null

Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

Functions

Link copied to clipboard
open override fun toJava(): HttpRouteURLRewriteArgs