Class TargetGroupConfigHealthCheckArgs.Builder

    • Method Detail

      • enabled

        public TargetGroupConfigHealthCheckArgs.Builder enabled​(@Nullable
                                                                com.pulumi.core.Output<java.lang.Boolean> enabled)
        Parameters:
        enabled - Indicates whether health checking is enabled. Defaults to `true`.
        Returns:
        builder
      • enabled

        public TargetGroupConfigHealthCheckArgs.Builder enabled​(java.lang.Boolean enabled)
        Parameters:
        enabled - Indicates whether health checking is enabled. Defaults to `true`.
        Returns:
        builder
      • healthCheckIntervalSeconds

        public TargetGroupConfigHealthCheckArgs.Builder healthCheckIntervalSeconds​(@Nullable
                                                                                   com.pulumi.core.Output<java.lang.Integer> healthCheckIntervalSeconds)
        Parameters:
        healthCheckIntervalSeconds - 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.
        Returns:
        builder
      • healthCheckIntervalSeconds

        public TargetGroupConfigHealthCheckArgs.Builder healthCheckIntervalSeconds​(java.lang.Integer healthCheckIntervalSeconds)
        Parameters:
        healthCheckIntervalSeconds - 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.
        Returns:
        builder
      • healthCheckTimeoutSeconds

        public TargetGroupConfigHealthCheckArgs.Builder healthCheckTimeoutSeconds​(@Nullable
                                                                                  com.pulumi.core.Output<java.lang.Integer> healthCheckTimeoutSeconds)
        Parameters:
        healthCheckTimeoutSeconds - 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.
        Returns:
        builder
      • healthCheckTimeoutSeconds

        public TargetGroupConfigHealthCheckArgs.Builder healthCheckTimeoutSeconds​(java.lang.Integer healthCheckTimeoutSeconds)
        Parameters:
        healthCheckTimeoutSeconds - 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.
        Returns:
        builder
      • path

        public TargetGroupConfigHealthCheckArgs.Builder path​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> path)
        Parameters:
        path - 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.
        Returns:
        builder
      • path

        public TargetGroupConfigHealthCheckArgs.Builder path​(java.lang.String path)
        Parameters:
        path - 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.
        Returns:
        builder
      • port

        public TargetGroupConfigHealthCheckArgs.Builder port​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
        Returns:
        builder
      • port

        public TargetGroupConfigHealthCheckArgs.Builder port​(java.lang.Integer port)
        Parameters:
        port - The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
        Returns:
        builder
      • protocol

        public TargetGroupConfigHealthCheckArgs.Builder protocol​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> protocol)
        Parameters:
        protocol - The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`.
        Returns:
        builder
      • protocol

        public TargetGroupConfigHealthCheckArgs.Builder protocol​(java.lang.String protocol)
        Parameters:
        protocol - The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`.
        Returns:
        builder
      • protocolVersion

        public TargetGroupConfigHealthCheckArgs.Builder protocolVersion​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> protocolVersion)
        Parameters:
        protocolVersion - The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2`. The default is `HTTP1`.
        Returns:
        builder
      • protocolVersion

        public TargetGroupConfigHealthCheckArgs.Builder protocolVersion​(java.lang.String protocolVersion)
        Parameters:
        protocolVersion - The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2`. The default is `HTTP1`.
        Returns:
        builder
      • unhealthyThresholdCount

        public TargetGroupConfigHealthCheckArgs.Builder unhealthyThresholdCount​(@Nullable
                                                                                com.pulumi.core.Output<java.lang.Integer> unhealthyThresholdCount)
        Parameters:
        unhealthyThresholdCount - The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
        Returns:
        builder
      • unhealthyThresholdCount

        public TargetGroupConfigHealthCheckArgs.Builder unhealthyThresholdCount​(java.lang.Integer unhealthyThresholdCount)
        Parameters:
        unhealthyThresholdCount - The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
        Returns:
        builder