InstanceFromMachineImageSchedulingGracefulShutdown constructor

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

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

Implementation

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