amazonka-opsworks-2.0: Amazon OpsWorks SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Description

 
Synopsis

Documentation

data ShutdownEventConfiguration Source #

The Shutdown event configuration.

See: newShutdownEventConfiguration smart constructor.

Constructors

ShutdownEventConfiguration' 

Fields

Instances

Instances details
FromJSON ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

ToJSON ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Generic ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Associated Types

type Rep ShutdownEventConfiguration :: Type -> Type #

Read ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Show ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

NFData ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Eq ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Hashable ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

type Rep ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

type Rep ShutdownEventConfiguration = D1 ('MetaData "ShutdownEventConfiguration" "Amazonka.OpsWorks.Types.ShutdownEventConfiguration" "amazonka-opsworks-2.0-7XrzSD2vbuN9lVUGWMVZ7S" 'False) (C1 ('MetaCons "ShutdownEventConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "delayUntilElbConnectionsDrained") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "executionTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

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:delayUntilElbConnectionsDrained:ShutdownEventConfiguration', shutdownEventConfiguration_delayUntilElbConnectionsDrained - Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining

$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.

shutdownEventConfiguration_delayUntilElbConnectionsDrained :: Lens' ShutdownEventConfiguration (Maybe Bool) Source #

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.