HeaderArgs

data class HeaderArgs(val glob: Output<String>? = null, val headers: Output<Map<String, String>>, val regex: Output<String>? = null) : ConvertibleToJava<HeaderArgs>

A Header specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.

Constructors

Link copied to clipboard
fun HeaderArgs(glob: Output<String>? = null, headers: Output<Map<String, String>>, regex: Output<String>? = null)

Functions

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

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 headers: Output<Map<String, String>>

The additional headers to add to the response.

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

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