EdgeCacheServiceRoutingPathMatcherRouteRuleRouteActionUrlRewriteArgs

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

Constructors

constructor(hostRewrite: Output<String>? = null, pathPrefixRewrite: Output<String>? = null, pathTemplateRewrite: Output<String>? = null)

Properties

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

Prior to forwarding the request to the selected origin, the request's host header is replaced with contents of hostRewrite.

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

Prior to forwarding the request to the selected origin, the matching portion of the request's path is replaced by pathPrefixRewrite.

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

Prior to forwarding the request to the selected origin, if the request matched a pathTemplateMatch, the matching portion of the request's path is replaced re-written using the pattern specified by pathTemplateRewrite. pathTemplateRewrite must be between 1 and 255 characters (inclusive), must start with a '/', and must only use variables captured by the route's pathTemplate matchers. pathTemplateRewrite may only be used when all of a route's MatchRules specify pathTemplate. Only one of pathPrefixRewrite and pathTemplateRewrite may be specified.

Functions

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