ServiceTaskSpecContainerSpecHealthcheck constructor

const ServiceTaskSpecContainerSpecHealthcheck({
  1. Input<String?>? interval,
  2. Input<int?>? retries,
  3. Input<String?>? startPeriod,
  4. Input<List<String>?>? tests,
  5. Input<String?>? timeout,
})

Creates a new ServiceTaskSpecContainerSpecHealthcheck. interval Time between running the check (ms|s|m|h). Defaults to 0s. retries Consecutive failures needed to report unhealthy. Defaults to 0 startPeriod Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to 0s. tests The test to perform as list timeout Maximum time to allow one check to run (ms|s|m|h). Defaults to 0s.

Implementation

const ServiceTaskSpecContainerSpecHealthcheck({
  this.interval,
  this.retries,
  this.startPeriod,
  this.tests,
  this.timeout,
});