HostingVersionConfigArgs

data class HostingVersionConfigArgs(val redirects: Output<List<HostingVersionConfigRedirectArgs>>? = null, val rewrites: Output<List<HostingVersionConfigRewriteArgs>>? = null) : ConvertibleToJava<HostingVersionConfigArgs>

Constructors

Link copied to clipboard
constructor(redirects: Output<List<HostingVersionConfigRedirectArgs>>? = null, rewrites: Output<List<HostingVersionConfigRewriteArgs>>? = null)

Properties

Link copied to clipboard

An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path. Structure is documented below.

Link copied to clipboard

An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL. Structure is documented below.

Functions

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