ServerGroupHealthCheckConfigArgs

data class ServerGroupHealthCheckConfigArgs(val healthCheckCodes: Output<List<String>>? = null, val healthCheckConnectPort: Output<Int>? = null, val healthCheckEnabled: Output<Boolean>? = null, 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
fun ServerGroupHealthCheckConfigArgs(healthCheckCodes: Output<List<String>>? = null, healthCheckConnectPort: Output<Int>? = null, healthCheckEnabled: Output<Boolean>? = null, 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)

Functions

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

Properties

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

The status code for a successful health check. Multiple status codes can be specified as a list. Valid values: http_2xx, http_3xx, http_4xx, and http_5xx. Default value: http_2xx. NOTE: This parameter exists if the HealthCheckProtocol parameter is set to HTTP.

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

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

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

Indicates whether health checks are enabled. Valid values: true, false. Default value: true.

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

HTTP protocol version. Valid values: HTTP1.0 and HTTP1.1. Default value: HTTP1.1. NOTE: This parameter exists if the HealthCheckProtocol parameter is set to HTTP.

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

The time interval between two consecutive health checks. Unit: seconds. Valid values: 1 to 50. Default value: 2.

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

Health check method. Valid values: GET and HEAD. Default: GET. NOTE: This parameter exists if the HealthCheckProtocol parameter is set to HTTP.

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

The forwarding rule path of health checks. NOTE: This parameter exists if the HealthCheckProtocol parameter is set to HTTP.

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

Health check protocol. Valid values: HTTP and TCP, HTTPS.

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

The timeout period of 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. Valid values: 1 to 300. Default value: 5. NOTE: If the value of the HealthCHeckTimeout parameter is smaller than that of the HealthCheckInterval parameter, the value of the HealthCHeckTimeout parameter is ignored and the value of the HealthCheckInterval parameter is regarded as the timeout period.

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

The number of health checks that an unhealthy backend server must pass consecutively before it is declared healthy. In this case, the health check state is changed from fail to success. Valid values: 2 to 10. Default value: 3.

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

The number of consecutive health checks that a healthy backend server must consecutively fail before it is declared unhealthy. In this case, the health check state is changed from success to fail. Valid values: 2 to 10. Default value: 3.