ContainerRestartRule constructor
const
ContainerRestartRule({
- required Input<
String> action, - 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,
});