SchedulingGracefulShutdown class

Configuration for gracefully shutting down the instance.

Constructors

SchedulingGracefulShutdown({Input<bool>? enabled, Input<Duration>? maxDuration})
Creates a new SchedulingGracefulShutdown. enabled Opts-in for graceful shutdown. maxDuration Specifies time needed to gracefully shut down the instance. After that time, the instance goes to STOPPING even if graceful shutdown is not completed.
const
SchedulingGracefulShutdown.fromMap(Map<String, dynamic> map)
factory

Properties

enabled → Input<bool>?
Opts-in for graceful shutdown.
final
hashCode → int
The hash code for this object.
no setterinherited
maxDuration → Input<Duration>?
Specifies time needed to gracefully shut down the instance. After that time, the instance goes to STOPPING even if graceful shutdown is not completed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited