Target Group Health Check Args
Constructors
Properties
Number of consecutive health check successes required before considering a target healthy. The range is 2-10. Defaults to 3.
The HTTP or gRPC codes to use when checking for a successful response from a target. The health_check.protocol
must be one of HTTP
or HTTPS
or the target_type
must be lambda
. Values can be comma-separated individual values (e.g., "200,202") or a range of values (e.g., "200-299").
Protocol the load balancer uses when performing health checks on targets. Must be one of TCP
, HTTP
, or HTTPS
. The TCP
protocol is not supported for health checks if the protocol of the target group is HTTP
or HTTPS
. Default is HTTP
. Cannot be specified when the target_type
is lambda
.
Amount of time, in seconds, during which no response from a target means a failed health check. The range is 2–120 seconds. For target groups with a protocol of HTTP, the default is 6 seconds. For target groups with a protocol of TCP, TLS or HTTPS, the default is 10 seconds. For target groups with a protocol of GENEVE, the default is 5 seconds. If the target type is lambda, the default is 30 seconds.
Number of consecutive health check failures required before considering a target unhealthy. The range is 2-10. Defaults to 3.