ListItemValueRedirectArgs

data class ListItemValueRedirectArgs(val includeSubdomains: Output<String>? = null, val preservePathSuffix: Output<String>? = null, val preserveQueryString: Output<String>? = null, val sourceUrl: Output<String>, val statusCode: Output<Int>? = null, val subpathMatching: Output<String>? = null, val targetUrl: Output<String>) : ConvertibleToJava<ListItemValueRedirectArgs>

Constructors

Link copied to clipboard
constructor(includeSubdomains: Output<String>? = null, preservePathSuffix: Output<String>? = null, preserveQueryString: Output<String>? = null, sourceUrl: Output<String>, statusCode: Output<Int>? = null, subpathMatching: Output<String>? = null, targetUrl: Output<String>)

Properties

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

Whether the redirect also matches subdomains of the source url. Available values: disabled, enabled.

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

Whether to preserve the path suffix when doing subpath matching. Available values: disabled, enabled.

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

Whether the redirect target url should keep the query string of the request's url. Available values: disabled, enabled.

Link copied to clipboard
val sourceUrl: Output<String>

The source url of the redirect.

Link copied to clipboard
val statusCode: Output<Int>? = null

The status code to be used when redirecting a request.

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

Whether the redirect also matches subpaths of the source url. Available values: disabled, enabled.

Link copied to clipboard
val targetUrl: Output<String>

The target url of the redirect.

Functions

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