ServiceHealthCheckConfiguration constructor

const ServiceHealthCheckConfiguration({
  1. Input<int?>? healthyThreshold,
  2. Input<int?>? interval,
  3. Input<String?>? path,
  4. Input<String?>? protocol,
  5. Input<int?>? timeout,
  6. Input<int?>? unhealthyThreshold,
})

Creates a new ServiceHealthCheckConfiguration. 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. interval Time interval, in seconds, between health checks. Defaults to 5. Minimum value of 1. Maximum value of 20. path URL to send requests to for health checks. Defaults to /. Minimum length of 0. Maximum length of 51200. 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. 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. 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.

Implementation

const ServiceHealthCheckConfiguration({
  this.healthyThreshold,
  this.interval,
  this.path,
  this.protocol,
  this.timeout,
  this.unhealthyThreshold,
});