InstanceSchedulingGracefulShutdown constructor

const InstanceSchedulingGracefulShutdown({
  1. required Input<bool> enabled,
  2. Input<InstanceSchedulingGracefulShutdownMaxDuration?>? maxDuration,
})

Creates a new InstanceSchedulingGracefulShutdown. enabled Opts-in for graceful shutdown. maxDuration The time allotted for the instance to gracefully shut down.

Implementation

const InstanceSchedulingGracefulShutdown({
  required this.enabled,
  this.maxDuration,
});