UrlMapArgs

data class UrlMapArgs(val apiEndpoint: Output<ApiEndpointHandlerArgs>? = null, val authFailAction: Output<UrlMapAuthFailAction>? = null, val login: Output<UrlMapLogin>? = null, val redirectHttpResponseCode: Output<UrlMapRedirectHttpResponseCode>? = null, val script: Output<ScriptHandlerArgs>? = null, val securityLevel: Output<UrlMapSecurityLevel>? = null, val staticFiles: Output<StaticFilesHandlerArgs>? = null, val urlRegex: Output<String>? = null) : ConvertibleToJava<UrlMapArgs>

URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.

Constructors

Link copied to clipboard
fun UrlMapArgs(apiEndpoint: Output<ApiEndpointHandlerArgs>? = null, authFailAction: Output<UrlMapAuthFailAction>? = null, login: Output<UrlMapLogin>? = null, redirectHttpResponseCode: Output<UrlMapRedirectHttpResponseCode>? = null, script: Output<ScriptHandlerArgs>? = null, securityLevel: Output<UrlMapSecurityLevel>? = null, staticFiles: Output<StaticFilesHandlerArgs>? = null, urlRegex: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val apiEndpoint: Output<ApiEndpointHandlerArgs>? = null

Uses API Endpoints to handle requests.

Link copied to clipboard

Action to take when users access resources that require authentication. Defaults to redirect.

Link copied to clipboard
val login: Output<UrlMapLogin>? = null

Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.

Link copied to clipboard

30x code to use when performing redirects for the secure field. Defaults to 302.

Link copied to clipboard
val script: Output<ScriptHandlerArgs>? = null

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".

Link copied to clipboard
val securityLevel: Output<UrlMapSecurityLevel>? = null

Security (HTTPS) enforcement for this URL.

Link copied to clipboard
val staticFiles: Output<StaticFilesHandlerArgs>? = null

Returns the contents of a file, such as an image, as the response.

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

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.