TargetGroupHealthCheckConfigArgs

data class TargetGroupHealthCheckConfigArgs(val enabled: Output<Boolean>? = null, val healthCheckIntervalSeconds: Output<Int>? = null, val healthCheckTimeoutSeconds: Output<Int>? = null, val healthyThresholdCount: Output<Int>? = null, val matcher: Output<TargetGroupMatcherArgs>? = null, val path: Output<String>? = null, val port: Output<Int>? = null, val protocol: Output<TargetGroupHealthCheckConfigProtocol>? = null, val protocolVersion: Output<TargetGroupHealthCheckConfigProtocolVersion>? = null, val unhealthyThresholdCount: Output<Int>? = null) : ConvertibleToJava<TargetGroupHealthCheckConfigArgs>

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, healthCheckIntervalSeconds: Output<Int>? = null, healthCheckTimeoutSeconds: Output<Int>? = null, healthyThresholdCount: Output<Int>? = null, matcher: Output<TargetGroupMatcherArgs>? = null, path: Output<String>? = null, port: Output<Int>? = null, protocol: Output<TargetGroupHealthCheckConfigProtocol>? = null, protocolVersion: Output<TargetGroupHealthCheckConfigProtocolVersion>? = null, unhealthyThresholdCount: Output<Int>? = null)

Properties

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

Indicates whether health checking is enabled.

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

The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.

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

The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.

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

The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.

Link copied to clipboard
val matcher: Output<TargetGroupMatcherArgs>? = null

The codes to use when checking for a successful response from a target.

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

The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2 , specify a valid URI (for example, /path?query ). The default path is / . Health checks are not supported if the protocol version is gRPC , however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.

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

The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.

Link copied to clipboard

The protocol used when performing health checks on targets. The possible protocols are HTTP and HTTPS . The default is HTTP .

Link copied to clipboard

The protocol version used when performing health checks on targets. The possible protocol versions are HTTP1 and HTTP2 .

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

The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.

Functions

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