Class TargetGroupConfigHealthCheckArgs


  • public final class TargetGroupConfigHealthCheckArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • enabled

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> enabled()
        Returns:
        Whether health checking is enabled. Defaults to `true`.
      • healthCheckIntervalSeconds

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> healthCheckIntervalSeconds()
        Returns:
        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<com.pulumi.core.Output<java.lang.Integer>> healthCheckTimeoutSeconds()
        Returns:
        Amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
      • healthyThresholdCount

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> healthyThresholdCount()
        Returns:
        Number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
      • matcher

        public java.util.Optional<com.pulumi.core.Output<TargetGroupConfigHealthCheckMatcherArgs>> matcher()
        Returns:
        Codes to use when checking for a successful response from a target. See `matcher` Block below.
      • path

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> path()
        Returns:
        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<com.pulumi.core.Output<java.lang.Integer>> port()
        Returns:
        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<com.pulumi.core.Output<java.lang.String>> protocol()
        Returns:
        Protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`.
      • protocolVersion

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> protocolVersion()
        Returns:
        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<com.pulumi.core.Output<java.lang.Integer>> unhealthyThresholdCount()
        Returns:
        Number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.