libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Description

 
Synopsis

Documentation

data ShutdownEventConfiguration Source #

The Shutdown event configuration.

See: newShutdownEventConfiguration smart constructor.

Constructors

ShutdownEventConfiguration' 

Fields

Instances

Instances details
Eq ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Read ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Show 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 #

NFData ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

Hashable ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

ToJSON ShutdownEventConfiguration Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.ShutdownEventConfiguration

FromJSON 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" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "ShutdownEventConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "executionTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "delayUntilElbConnectionsDrained") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

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