amazonka-emr-serverless-2.0: Amazon EMR Serverless 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.EMRServerless.Types.AutoStopConfig

Description

 
Synopsis

Documentation

data AutoStopConfig Source #

The configuration for an application to automatically stop after a certain amount of time being idle.

See: newAutoStopConfig smart constructor.

Constructors

AutoStopConfig' 

Fields

  • enabled :: Maybe Bool

    Enables the application to automatically stop after a certain amount of time being idle. Defaults to true.

  • idleTimeoutMinutes :: Maybe Natural

    The amount of idle time in minutes after which your application will automatically stop. Defaults to 15 minutes.

Instances

Instances details
FromJSON AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

ToJSON AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

Generic AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

Associated Types

type Rep AutoStopConfig :: Type -> Type #

Read AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

Show AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

NFData AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

Methods

rnf :: AutoStopConfig -> () #

Eq AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

Hashable AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

type Rep AutoStopConfig Source # 
Instance details

Defined in Amazonka.EMRServerless.Types.AutoStopConfig

type Rep AutoStopConfig = D1 ('MetaData "AutoStopConfig" "Amazonka.EMRServerless.Types.AutoStopConfig" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "AutoStopConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "idleTimeoutMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

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.