Package com.pulumi.aws.apprunner.inputs
Class ServiceHealthCheckConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.apprunner.inputs.ServiceHealthCheckConfigurationArgs.Builder
-
- Enclosing class:
- ServiceHealthCheckConfigurationArgs
public static final class ServiceHealthCheckConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ServiceHealthCheckConfigurationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ServiceHealthCheckConfigurationArgs defaults)
-
-
Method Detail
-
healthyThreshold
public ServiceHealthCheckConfigurationArgs.Builder healthyThreshold(@Nullable com.pulumi.core.Output<java.lang.Integer> healthyThreshold)
- Parameters:
healthyThreshold- Number of consecutive checks that must succeed before App Runner decides that the service is healthy. Defaults to 1. Minimum value of 1. Maximum value of 20.- Returns:
- builder
-
healthyThreshold
public ServiceHealthCheckConfigurationArgs.Builder healthyThreshold(java.lang.Integer healthyThreshold)
- Parameters:
healthyThreshold- Number of consecutive checks that must succeed before App Runner decides that the service is healthy. Defaults to 1. Minimum value of 1. Maximum value of 20.- Returns:
- builder
-
interval
public ServiceHealthCheckConfigurationArgs.Builder interval(@Nullable com.pulumi.core.Output<java.lang.Integer> interval)
- Parameters:
interval- Time interval, in seconds, between health checks. Defaults to 5. Minimum value of 1. Maximum value of 20.- Returns:
- builder
-
interval
public ServiceHealthCheckConfigurationArgs.Builder interval(java.lang.Integer interval)
- Parameters:
interval- Time interval, in seconds, between health checks. Defaults to 5. Minimum value of 1. Maximum value of 20.- Returns:
- builder
-
path
public ServiceHealthCheckConfigurationArgs.Builder path(@Nullable com.pulumi.core.Output<java.lang.String> path)
- Parameters:
path- URL to send requests to for health checks. Defaults to `/`. Minimum length of 0. Maximum length of 51200.- Returns:
- builder
-
path
public ServiceHealthCheckConfigurationArgs.Builder path(java.lang.String path)
- Parameters:
path- URL to send requests to for health checks. Defaults to `/`. Minimum length of 0. Maximum length of 51200.- Returns:
- builder
-
protocol
public ServiceHealthCheckConfigurationArgs.Builder protocol(@Nullable com.pulumi.core.Output<java.lang.String> protocol)
- Parameters:
protocol- IP protocol that App Runner uses to perform health checks for your service. Valid values: `TCP`, `HTTP`. Defaults to `TCP`. If you set protocol to `HTTP`, App Runner sends health check requests to the HTTP path specified by `path`.- Returns:
- builder
-
protocol
public ServiceHealthCheckConfigurationArgs.Builder protocol(java.lang.String protocol)
- Parameters:
protocol- IP protocol that App Runner uses to perform health checks for your service. Valid values: `TCP`, `HTTP`. Defaults to `TCP`. If you set protocol to `HTTP`, App Runner sends health check requests to the HTTP path specified by `path`.- Returns:
- builder
-
timeout
public ServiceHealthCheckConfigurationArgs.Builder timeout(@Nullable com.pulumi.core.Output<java.lang.Integer> timeout)
- Parameters:
timeout- Time, in seconds, to wait for a health check response before deciding it failed. Defaults to 2. Minimum value of 1. Maximum value of 20.- Returns:
- builder
-
timeout
public ServiceHealthCheckConfigurationArgs.Builder timeout(java.lang.Integer timeout)
- Parameters:
timeout- Time, in seconds, to wait for a health check response before deciding it failed. Defaults to 2. Minimum value of 1. Maximum value of 20.- Returns:
- builder
-
unhealthyThreshold
public ServiceHealthCheckConfigurationArgs.Builder unhealthyThreshold(@Nullable com.pulumi.core.Output<java.lang.Integer> unhealthyThreshold)
- Parameters:
unhealthyThreshold- Number of consecutive checks that must fail before App Runner decides that the service is unhealthy. Defaults to 5. Minimum value of 1. Maximum value of 20.- Returns:
- builder
-
unhealthyThreshold
public ServiceHealthCheckConfigurationArgs.Builder unhealthyThreshold(java.lang.Integer unhealthyThreshold)
- Parameters:
unhealthyThreshold- Number of consecutive checks that must fail before App Runner decides that the service is unhealthy. Defaults to 5. Minimum value of 1. Maximum value of 20.- Returns:
- builder
-
build
public ServiceHealthCheckConfigurationArgs build()
-
-