HostingVersionConfigArgs

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

Constructors

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

Properties

Link copied to clipboard

An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers. Structure is documented below.

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