Class TargetGroupConfigHealthCheck
- java.lang.Object
-
- com.pulumi.aws.vpclattice.outputs.TargetGroupConfigHealthCheck
-
public final class TargetGroupConfigHealthCheck extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TargetGroupConfigHealthCheck.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TargetGroupConfigHealthCheck.Builder
builder()
static TargetGroupConfigHealthCheck.Builder
builder(TargetGroupConfigHealthCheck defaults)
java.util.Optional<java.lang.Boolean>
enabled()
java.util.Optional<java.lang.Integer>
healthCheckIntervalSeconds()
java.util.Optional<java.lang.Integer>
healthCheckTimeoutSeconds()
java.util.Optional<java.lang.Integer>
healthyThresholdCount()
java.util.Optional<TargetGroupConfigHealthCheckMatcher>
matcher()
java.util.Optional<java.lang.String>
path()
java.util.Optional<java.lang.Integer>
port()
java.util.Optional<java.lang.String>
protocol()
java.util.Optional<java.lang.String>
protocolVersion()
java.util.Optional<java.lang.Integer>
unhealthyThresholdCount()
-
-
-
Method Detail
-
enabled
public java.util.Optional<java.lang.Boolean> enabled()
- Returns:
- Indicates whether health checking is enabled. Defaults to `true`.
-
healthCheckIntervalSeconds
public java.util.Optional<java.lang.Integer> healthCheckIntervalSeconds()
- Returns:
- 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.
-
healthCheckTimeoutSeconds
public java.util.Optional<java.lang.Integer> healthCheckTimeoutSeconds()
- Returns:
- 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. * ` healthy_threshold_count ` - (Optional) The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
-
healthyThresholdCount
public java.util.Optional<java.lang.Integer> healthyThresholdCount()
-
matcher
public java.util.Optional<TargetGroupConfigHealthCheckMatcher> matcher()
- Returns:
- The codes to use when checking for a successful response from a target. These are called _Success codes_ in the console.
-
path
public java.util.Optional<java.lang.String> path()
- Returns:
- 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.
-
port
public java.util.Optional<java.lang.Integer> port()
- Returns:
- The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
-
protocol
public java.util.Optional<java.lang.String> protocol()
- Returns:
- The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`.
-
protocolVersion
public java.util.Optional<java.lang.String> protocolVersion()
- Returns:
- The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2`. The default is `HTTP1`.
-
unhealthyThresholdCount
public java.util.Optional<java.lang.Integer> unhealthyThresholdCount()
- Returns:
- The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
-
builder
public static TargetGroupConfigHealthCheck.Builder builder()
-
builder
public static TargetGroupConfigHealthCheck.Builder builder(TargetGroupConfigHealthCheck defaults)
-
-