Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ShutdownEventConfiguration = ShutdownEventConfiguration' {}
- newShutdownEventConfiguration :: ShutdownEventConfiguration
- shutdownEventConfiguration_executionTimeout :: Lens' ShutdownEventConfiguration (Maybe Int)
- shutdownEventConfiguration_delayUntilElbConnectionsDrained :: Lens' ShutdownEventConfiguration (Maybe Bool)
Documentation
data ShutdownEventConfiguration Source #
The Shutdown event configuration.
See: newShutdownEventConfiguration
smart constructor.
ShutdownEventConfiguration' | |
|
Instances
newShutdownEventConfiguration :: ShutdownEventConfiguration Source #
Create a value of ShutdownEventConfiguration
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:executionTimeout:ShutdownEventConfiguration'
, shutdownEventConfiguration_executionTimeout
- The time, in seconds, that AWS OpsWorks Stacks will wait after
triggering a Shutdown event before shutting down an instance.
$sel:delayUntilElbConnectionsDrained:ShutdownEventConfiguration'
, shutdownEventConfiguration_delayUntilElbConnectionsDrained
- Whether to enable Elastic Load Balancing connection draining. For more
information, see
Connection Draining
shutdownEventConfiguration_executionTimeout :: Lens' ShutdownEventConfiguration (Maybe Int) Source #
The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.
shutdownEventConfiguration_delayUntilElbConnectionsDrained :: Lens' ShutdownEventConfiguration (Maybe Bool) Source #
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining