HealthCheckConfig

The health check configuration for a managed endpoint. Defines how the service probes instances in the Auto Scaling group to determine their health status.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The number of consecutive successful health checks required before an instance is considered healthy. Valid range is 2 to 10.

Link copied to clipboard

The interval between health check probes, in seconds. Valid range is 5 to 60.

Link copied to clipboard

The destination path for the health check request. Must start with /.

Link copied to clipboard
val port: Int

The port to use for health check probes. Valid range is 80 to 65535.

Link copied to clipboard

The protocol to use for health check probes.

Link copied to clipboard

The expected HTTP status code or status code pattern from healthy instances. Supports a single code (for example, 200), a range (for example, 200-299), or a comma-separated list (for example, 200,204).

Link copied to clipboard

The timeout for each health check probe, in milliseconds. Valid range is 100 to 5000.

Link copied to clipboard

The number of consecutive failed health checks required before an instance is considered unhealthy. Valid range is 2 to 10.

Functions

Link copied to clipboard
inline fun copy(block: HealthCheckConfig.Builder.() -> Unit = {}): HealthCheckConfig
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String