InstanceSchedulingGracefulShutdown constructor
const
InstanceSchedulingGracefulShutdown({
- required Input<
bool> enabled, - 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,
});