
com.pulumi.aws.alb.inputs.TargetGroupTargetHealthStateArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.alb.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class TargetGroupTargetHealthStateArgs extends com.pulumi.resources.ResourceArgs {
public static final TargetGroupTargetHealthStateArgs Empty = new TargetGroupTargetHealthStateArgs();
/**
* Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`.
*
*/
@Import(name="enableUnhealthyConnectionTermination", required=true)
private Output enableUnhealthyConnectionTermination;
/**
* @return Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`.
*
*/
public Output enableUnhealthyConnectionTermination() {
return this.enableUnhealthyConnectionTermination;
}
/**
* 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`.
*
*/
@Import(name="unhealthyDrainingInterval")
private @Nullable Output unhealthyDrainingInterval;
/**
* @return 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`.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy