Optional ReadonlyenabledOptional ReadonlyhealthyGRPC code to use when checking for a successful response from a target.
You can specify values between 0 and 99. You can specify multiple values (for example, "0,1") or a range of values (for example, "0-5").
Optional ReadonlyhealthyHTTP code to use when checking for a successful response from a target.
For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").
Optional ReadonlyhealthyThe number of consecutive health checks successes required before considering an unhealthy target healthy.
For Application Load Balancers, the default is 5. For Network Load Balancers, the default is 3.
Optional ReadonlyintervalThe approximate number of seconds between health checks for an individual target. Must be 5 to 300 seconds
Optional ReadonlypathThe ping path destination where Elastic Load Balancing sends health check requests.
Optional ReadonlyportThe port that the load balancer uses when performing health checks on the targets.
Optional ReadonlyprotocolThe protocol the load balancer uses when performing health checks on targets.
The TCP protocol is supported for health checks only if the protocol of the target group is TCP, TLS, UDP, or TCP_UDP. The TLS, UDP, and TCP_UDP protocols are not supported for health checks.
Optional ReadonlytimeoutThe amount of time, in seconds, during which no response from a target means a failed health check. Must be 2 to 120 seconds.
Optional ReadonlyunhealthyThe number of consecutive health check failures required before considering a target unhealthy.
For Application Load Balancers, the default is 2. For Network Load Balancers, the range is between 2-10 and can be set accordingly.
Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance or ip, health checks are always enabled and cannot be disabled.