ServerGroupHealthCheckConfigArgs

data class ServerGroupHealthCheckConfigArgs(val healthCheckCodes: Output<List<String>>? = null, val healthCheckConnectPort: Output<Int>? = null, val healthCheckEnabled: Output<Boolean>, val healthCheckHost: Output<String>? = null, val healthCheckHttpVersion: Output<String>? = null, val healthCheckInterval: Output<Int>? = null, val healthCheckMethod: Output<String>? = null, val healthCheckPath: Output<String>? = null, val healthCheckProtocol: Output<String>? = null, val healthCheckTimeout: Output<Int>? = null, val healthyThreshold: Output<Int>? = null, val unhealthyThreshold: Output<Int>? = null) : ConvertibleToJava<ServerGroupHealthCheckConfigArgs>

Constructors

Link copied to clipboard
constructor(healthCheckCodes: Output<List<String>>? = null, healthCheckConnectPort: Output<Int>? = null, healthCheckEnabled: Output<Boolean>, healthCheckHost: Output<String>? = null, healthCheckHttpVersion: Output<String>? = null, healthCheckInterval: Output<Int>? = null, healthCheckMethod: Output<String>? = null, healthCheckPath: Output<String>? = null, healthCheckProtocol: Output<String>? = null, healthCheckTimeout: Output<Int>? = null, healthyThreshold: Output<Int>? = null, unhealthyThreshold: Output<Int>? = null)

Properties

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

The HTTP status codes that are used to indicate whether the backend server passes the health check. Valid values:

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

The backend port that is used for health checks. Default value: 0. Valid values: 0 to 65535. A value of 0 indicates that a backend server port is used for health checks.

Link copied to clipboard

Specifies whether to enable the health check feature. Valid values: true, false.

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

The domain name that is used for health checks.

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

The version of the HTTP protocol. Default value: HTTP1.1. Valid values: HTTP1.0 and HTTP1.1. NOTE: This parameter takes effect only when health_check_protocol is set to HTTP or HTTPS.

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

The interval at which health checks are performed. Unit: seconds. Default value: 2. Valid values: 1 to 50.

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

The HTTP method that is used for health checks. Default value: GET. Valid values: GET, POST, HEAD. NOTE: This parameter takes effect only when health_check_protocol is set to HTTP, HTTPS, or gRPC. From version 1.215.0, health_check_method can be set to POST.

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

The path that is used for health checks. NOTE: This parameter takes effect only when health_check_protocol is set to HTTP or HTTPS.

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

The protocol that is used for health checks. Valid values: HTTP, HTTPS, TCP and gRPC.

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

The timeout period for a health check response. If a backend Elastic Compute Service (ECS) instance does not send an expected response within the specified period of time, the ECS instance is considered unhealthy. Unit: seconds. Default value: 5. Valid values: 1 to 300. NOTE: If the value of health_check_timeout is smaller than the value of health_check_interval, the value of health_check_timeout is ignored and the value of health_check_interval is used.

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

The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. Default value: 3. Valid values: 2 to 10.

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

The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. Default value: 3. Valid values: 2 to 10.

Functions

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