ContainerRestartRule constructor

const ContainerRestartRule({
  1. required Input<String> action,
  2. Input<ContainerRestartRuleOnExitCodes>? exitCodes,
})

Creates a new ContainerRestartRule. action Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is "Restart" to restart the container. exitCodes Represents the exit codes to check on container exits.

Implementation

const ContainerRestartRule({
  required this.action,
  this.exitCodes,
});