DomainRedirectArgs

data class DomainRedirectArgs(val backends: Output<List<String>>? = null, val connectTimeout: Output<Int>? = null, val focusHttpBackend: Output<Boolean>? = null, val keepalive: Output<Boolean>? = null, val keepaliveRequests: Output<Int>? = null, val keepaliveTimeout: Output<Int>? = null, val loadbalance: Output<String>, val readTimeout: Output<Int>? = null, val requestHeaders: Output<List<DomainRedirectRequestHeaderArgs>>? = null, val retry: Output<Boolean>? = null, val sniEnabled: Output<Boolean>? = null, val sniHost: Output<String>? = null, val writeTimeout: Output<Int>? = null) : ConvertibleToJava<DomainRedirectArgs>

Constructors

Link copied to clipboard
constructor(backends: Output<List<String>>? = null, connectTimeout: Output<Int>? = null, focusHttpBackend: Output<Boolean>? = null, keepalive: Output<Boolean>? = null, keepaliveRequests: Output<Int>? = null, keepaliveTimeout: Output<Int>? = null, loadbalance: Output<String>, readTimeout: Output<Int>? = null, requestHeaders: Output<List<DomainRedirectRequestHeaderArgs>>? = null, retry: Output<Boolean>? = null, sniEnabled: Output<Boolean>? = null, sniHost: Output<String>? = null, writeTimeout: Output<Int>? = null)

Properties

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

The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.

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

Connection timeout. Unit: seconds, value range: 5~120.

Link copied to clipboard
val focusHttpBackend: Output<Boolean>? = null

Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol). Value:

Link copied to clipboard
val keepalive: Output<Boolean>? = null

Open long connection, default true.

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

Number of long connections, default: 60. range :60-1000.

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

Long connection over time, default: 15. Range: 1-60.

Link copied to clipboard
val loadbalance: Output<String>

The load balancing algorithm used when returning to the source. Value:

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

Read timeout duration. Unit: seconds, Value range: 5~1800.

Link copied to clipboard

The traffic tag field and value of the domain name which used to mark the traffic processed by WAF. It formats as [{" k ":"_key_"," v ":"_value_"}]. Where the k represents the specified custom request header field, and the v represents the value set for this field. By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value. See request_headers below.

Link copied to clipboard
val retry: Output<Boolean>? = null

Back to Source Retry. default: true, retry 3 times by default.

Link copied to clipboard
val sniEnabled: Output<Boolean>? = null

Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol). Value:

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

Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).

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

Write timeout duration>Unit: seconds, Value range: 5~1800.

Functions

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