libZSservicesZSamazonka-emrZSamazonka-emr
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.EMR.Types.AutoTerminationPolicy

Description

 
Synopsis

Documentation

data AutoTerminationPolicy Source #

An auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.

See: newAutoTerminationPolicy smart constructor.

Constructors

AutoTerminationPolicy' 

Fields

  • idleTimeout :: Maybe Integer

    Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).

Instances

Instances details
Eq AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

Read AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

Show AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

Generic AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

Associated Types

type Rep AutoTerminationPolicy :: Type -> Type #

NFData AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

Methods

rnf :: AutoTerminationPolicy -> () #

Hashable AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

ToJSON AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

FromJSON AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

type Rep AutoTerminationPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoTerminationPolicy

type Rep AutoTerminationPolicy = D1 ('MetaData "AutoTerminationPolicy" "Amazonka.EMR.Types.AutoTerminationPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "AutoTerminationPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "idleTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newAutoTerminationPolicy :: AutoTerminationPolicy Source #

Create a value of AutoTerminationPolicy 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:idleTimeout:AutoTerminationPolicy', autoTerminationPolicy_idleTimeout - Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).

autoTerminationPolicy_idleTimeout :: Lens' AutoTerminationPolicy (Maybe Integer) Source #

Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).