ServerGroupHealthCheckConfig

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

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The status code for a successful health check

Link copied to clipboard

The backend port that is used for health checks. Valid values: 0 to 65535. If you set the value to 0, the backend port is used for health checks.

Link copied to clipboard

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

Link copied to clipboard
val healthCheckHost: String? = null

The domain name that is used for health checks.

Link copied to clipboard

The HTTP version that is used for health checks. Valid values:

Link copied to clipboard

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

Link copied to clipboard

The HTTP method that is used for health checks. Valid values:

Link copied to clipboard
val healthCheckPath: String? = null

The URL that is used for health checks. The URL must be 1 to 80 characters in length, and can contain letters, digits, and the following special characters: - / . % ? # & =. It can also contain the following extended characters: _ ; ~ ! ( ) * [ ] @ $ ^ : ' , +. The URL must start with a forward slash (/).

Link copied to clipboard

The protocol that is used for health checks. Valid values:

Link copied to clipboard
val healthCheckTimeout: Int? = null

The timeout period of a health check response. If a backend ECS instance does not respond within the specified timeout period, the ECS instance fails the health check. Unit: seconds. Valid values: 1 to 300.

Link copied to clipboard
val healthyThreshold: Int? = null

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

Link copied to clipboard
val unhealthyThreshold: Int? = null

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