Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data AutoStopConfig Source #
The configuration for an application to automatically stop after a certain amount of time being idle.
See: newAutoStopConfig
smart constructor.
Instances
newAutoStopConfig :: AutoStopConfig Source #
Create a value of AutoStopConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enabled:AutoStopConfig'
, autoStopConfig_enabled
- Enables the application to automatically stop after a certain amount of
time being idle. Defaults to true.
$sel:idleTimeoutMinutes:AutoStopConfig'
, autoStopConfig_idleTimeoutMinutes
- The amount of idle time in minutes after which your application will
automatically stop. Defaults to 15 minutes.
autoStopConfig_enabled :: Lens' AutoStopConfig (Maybe Bool) Source #
Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.
autoStopConfig_idleTimeoutMinutes :: Lens' AutoStopConfig (Maybe Natural) Source #
The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.