public static interface HealthCheckConfiguration.Builder extends SdkPojo, CopyableBuilder<HealthCheckConfiguration.Builder,HealthCheckConfiguration>
| Modifier and Type | Method and Description |
|---|---|
HealthCheckConfiguration.Builder |
healthyThreshold(Integer healthyThreshold)
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
|
HealthCheckConfiguration.Builder |
interval(Integer interval)
The time interval, in seconds, between health checks.
|
HealthCheckConfiguration.Builder |
path(String path)
The URL that health check requests are sent to.
|
HealthCheckConfiguration.Builder |
protocol(HealthCheckProtocol protocol)
The IP protocol that App Runner uses to perform health checks for your service.
|
HealthCheckConfiguration.Builder |
protocol(String protocol)
The IP protocol that App Runner uses to perform health checks for your service.
|
HealthCheckConfiguration.Builder |
timeout(Integer timeout)
The time, in seconds, to wait for a health check response before deciding it failed.
|
HealthCheckConfiguration.Builder |
unhealthyThreshold(Integer unhealthyThreshold)
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHealthCheckConfiguration.Builder protocol(String protocol)
The IP protocol that App Runner uses to perform health checks for your service.
If you set Protocol to HTTP, App Runner sends health check requests to the HTTP
path specified by Path.
Default: TCP
protocol - The IP protocol that App Runner uses to perform health checks for your service.
If you set Protocol to HTTP, App Runner sends health check requests to the
HTTP path specified by Path.
Default: TCP
HealthCheckProtocol,
HealthCheckProtocolHealthCheckConfiguration.Builder protocol(HealthCheckProtocol protocol)
The IP protocol that App Runner uses to perform health checks for your service.
If you set Protocol to HTTP, App Runner sends health check requests to the HTTP
path specified by Path.
Default: TCP
protocol - The IP protocol that App Runner uses to perform health checks for your service.
If you set Protocol to HTTP, App Runner sends health check requests to the
HTTP path specified by Path.
Default: TCP
HealthCheckProtocol,
HealthCheckProtocolHealthCheckConfiguration.Builder path(String path)
The URL that health check requests are sent to.
Path is only applicable when you set Protocol to HTTP.
Default: "/"
path - The URL that health check requests are sent to.
Path is only applicable when you set Protocol to HTTP.
Default: "/"
HealthCheckConfiguration.Builder interval(Integer interval)
The time interval, in seconds, between health checks.
Default: 5
interval - The time interval, in seconds, between health checks.
Default: 5
HealthCheckConfiguration.Builder timeout(Integer timeout)
The time, in seconds, to wait for a health check response before deciding it failed.
Default: 2
timeout - The time, in seconds, to wait for a health check response before deciding it failed.
Default: 2
HealthCheckConfiguration.Builder healthyThreshold(Integer healthyThreshold)
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
Default: 3
healthyThreshold - The number of consecutive checks that must succeed before App Runner decides that the service is
healthy.
Default: 3
HealthCheckConfiguration.Builder unhealthyThreshold(Integer unhealthyThreshold)
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
Default: 3
unhealthyThreshold - The number of consecutive checks that must fail before App Runner decides that the service is
unhealthy.
Default: 3
Copyright © 2021. All rights reserved.