UriOverrideArgs

data class UriOverrideArgs(val host: Output<String>? = null, val pathOverride: Output<PathOverrideArgs>? = null, val port: Output<String>? = null, val queryOverride: Output<QueryOverrideArgs>? = null, val scheme: Output<UriOverrideScheme>? = null, val uriOverrideEnforceMode: Output<UriOverrideUriOverrideEnforceMode>? = null) : ConvertibleToJava<UriOverrideArgs>

URI Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values.

Constructors

Link copied to clipboard
fun UriOverrideArgs(host: Output<String>? = null, pathOverride: Output<PathOverrideArgs>? = null, port: Output<String>? = null, queryOverride: Output<QueryOverrideArgs>? = null, scheme: Output<UriOverrideScheme>? = null, uriOverrideEnforceMode: Output<UriOverrideUriOverrideEnforceMode>? = null)

Functions

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

Properties

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

Host override. When specified, replaces the host part of the task URL. For example, if the task URL is "https://www.google.com," and host value is set to "example.net", the overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT).

Link copied to clipboard
val pathOverride: Output<PathOverrideArgs>? = null

URI path. When specified, replaces the existing path of the task URL. Setting the path value to an empty string clears the URI path segment.

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

Port override. When specified, replaces the port part of the task URI. For instance, for a URI http://www.google.com/foo and port=123, the overridden URI becomes http://www.google.com:123/foo. Note that the port value must be a positive integer. Setting the port to 0 (Zero) clears the URI port.

Link copied to clipboard
val queryOverride: Output<QueryOverrideArgs>? = null

URI Query. When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment.

Link copied to clipboard
val scheme: Output<UriOverrideScheme>? = null

Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).

Link copied to clipboard

URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS.