HostingVersionConfigRedirectArgs

data class HostingVersionConfigRedirectArgs(val glob: Output<String>? = null, val location: Output<String>, val regex: Output<String>? = null, val statusCode: Output<Int>) : ConvertibleToJava<HostingVersionConfigRedirectArgs>

Constructors

Link copied to clipboard
constructor(glob: Output<String>? = null, location: Output<String>, regex: Output<String>? = null, statusCode: Output<Int>)

Properties

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

The user-supplied glob to match against the request URL path.

Link copied to clipboard
val location: Output<String>

The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a : prefix to identify the segment and an optional * to capture the rest of the URL. For example:

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

The user-supplied RE2 regular expression to match against the request URL path.

Link copied to clipboard
val statusCode: Output<Int>

The status HTTP code to return in the response. It must be a valid 3xx status code.

Functions

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