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

Description

 
Synopsis

Documentation

data ShrinkPolicy Source #

Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.

See: newShrinkPolicy smart constructor.

Constructors

ShrinkPolicy' 

Fields

Instances

Instances details
Eq ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

Read ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

Show ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

Generic ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

Associated Types

type Rep ShrinkPolicy :: Type -> Type #

NFData ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

Methods

rnf :: ShrinkPolicy -> () #

Hashable ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

ToJSON ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

FromJSON ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

type Rep ShrinkPolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.ShrinkPolicy

type Rep ShrinkPolicy = D1 ('MetaData "ShrinkPolicy" "Amazonka.EMR.Types.ShrinkPolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "ShrinkPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "decommissionTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "instanceResizePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceResizePolicy))))

newShrinkPolicy :: ShrinkPolicy Source #

Create a value of ShrinkPolicy 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:decommissionTimeout:ShrinkPolicy', shrinkPolicy_decommissionTimeout - The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

$sel:instanceResizePolicy:ShrinkPolicy', shrinkPolicy_instanceResizePolicy - Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.

shrinkPolicy_decommissionTimeout :: Lens' ShrinkPolicy (Maybe Int) Source #

The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

shrinkPolicy_instanceResizePolicy :: Lens' ShrinkPolicy (Maybe InstanceResizePolicy) Source #

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.