TargetGroupTargetHealthStateArgs

data class TargetGroupTargetHealthStateArgs(val enableUnhealthyConnectionTermination: Output<Boolean>, val unhealthyDrainingInterval: Output<Int>? = null) : ConvertibleToJava<TargetGroupTargetHealthStateArgs>

Constructors

Link copied to clipboard
constructor(enableUnhealthyConnectionTermination: Output<Boolean>, unhealthyDrainingInterval: Output<Int>? = null)

Properties

Link copied to clipboard

Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are true or false. Default: true.

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

Indicates the time to wait for in-flight requests to complete when a target becomes unhealthy. The range is 0-360000. This value has to be set only if enable_unhealthy_connection_termination is set to false. Default: 0.

Functions

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