DaemonTaskDefinitionContainerDefinitionHealthCheck constructor

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

Creates a new DaemonTaskDefinitionContainerDefinitionHealthCheck. commands String array representing the command that the container runs to determine if it is healthy. interval Time period in seconds between each health check execution. Valid range: 5–300. retries Number of times to retry a failed health check. Valid range: 1–10. startPeriod Grace period in seconds to provide containers time to bootstrap. Valid range: 0–300. timeout Time period in seconds to wait for a health check to succeed. Valid range: 2–60.

Implementation

const DaemonTaskDefinitionContainerDefinitionHealthCheck({
  required this.commands,
  this.interval,
  this.retries,
  this.startPeriod,
  this.timeout,
});