Package com.pulumi.aws.apprunner.outputs
Class ServiceHealthCheckConfiguration
- java.lang.Object
-
- com.pulumi.aws.apprunner.outputs.ServiceHealthCheckConfiguration
-
public final class ServiceHealthCheckConfiguration extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceHealthCheckConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceHealthCheckConfiguration.Builderbuilder()static ServiceHealthCheckConfiguration.Builderbuilder(ServiceHealthCheckConfiguration defaults)java.util.Optional<java.lang.Integer>healthyThreshold()java.util.Optional<java.lang.Integer>interval()java.util.Optional<java.lang.String>path()java.util.Optional<java.lang.String>protocol()java.util.Optional<java.lang.Integer>timeout()java.util.Optional<java.lang.Integer>unhealthyThreshold()
-
-
-
Method Detail
-
healthyThreshold
public java.util.Optional<java.lang.Integer> healthyThreshold()
- Returns:
- 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.
-
interval
public java.util.Optional<java.lang.Integer> interval()
- Returns:
- Time interval, in seconds, between health checks. Defaults to 5. Minimum value of 1. Maximum value of 20.
-
path
public java.util.Optional<java.lang.String> path()
- Returns:
- URL to send requests to for health checks. Defaults to `/`. Minimum length of 0. Maximum length of 51200.
-
protocol
public java.util.Optional<java.lang.String> protocol()
- Returns:
- 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`.
-
timeout
public java.util.Optional<java.lang.Integer> timeout()
- Returns:
- 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.
-
unhealthyThreshold
public java.util.Optional<java.lang.Integer> unhealthyThreshold()
- Returns:
- 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.
-
builder
public static ServiceHealthCheckConfiguration.Builder builder()
-
builder
public static ServiceHealthCheckConfiguration.Builder builder(ServiceHealthCheckConfiguration defaults)
-
-