Interface HealthCheckConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HealthCheckConfiguration.Builder,,HealthCheckConfiguration> SdkBuilder<HealthCheckConfiguration.Builder,,HealthCheckConfiguration> SdkPojo
- Enclosing class:
HealthCheckConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionhealthyThreshold(Integer healthyThreshold) The number of consecutive checks that must succeed before App Runner decides that the service is healthy.The time interval, in seconds, between health checks.The URL that health check requests are sent to.The IP protocol that App Runner uses to perform health checks for your service.protocol(HealthCheckProtocol protocol) The IP protocol that App Runner uses to perform health checks for your service.The time, in seconds, to wait for a health check response before deciding it failed.unhealthyThreshold(Integer unhealthyThreshold) The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
protocol
The IP protocol that App Runner uses to perform health checks for your service.
If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- Parameters:
protocol- The IP protocol that App Runner uses to perform health checks for your service.If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
The IP protocol that App Runner uses to perform health checks for your service.
If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- Parameters:
protocol- The IP protocol that App Runner uses to perform health checks for your service.If you set
ProtocoltoHTTP, App Runner sends health check requests to the HTTP path specified byPath.Default:
TCP- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
path
The URL that health check requests are sent to.
Pathis only applicable when you setProtocoltoHTTP.Default:
"/"- Parameters:
path- The URL that health check requests are sent to.Pathis only applicable when you setProtocoltoHTTP.Default:
"/"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
The time interval, in seconds, between health checks.
Default:
5- Parameters:
interval- The time interval, in seconds, between health checks.Default:
5- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
The time, in seconds, to wait for a health check response before deciding it failed.
Default:
2- Parameters:
timeout- The time, in seconds, to wait for a health check response before deciding it failed.Default:
2- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthyThreshold
The number of consecutive checks that must succeed before App Runner decides that the service is healthy.
Default:
1- Parameters:
healthyThreshold- The number of consecutive checks that must succeed before App Runner decides that the service is healthy.Default:
1- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unhealthyThreshold
The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.
Default:
5- Parameters:
unhealthyThreshold- The number of consecutive checks that must fail before App Runner decides that the service is unhealthy.Default:
5- Returns:
- Returns a reference to this object so that method calls can be chained together.
-