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

Description

 
Synopsis

Documentation

data InstanceResizePolicy Source #

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

See: newInstanceResizePolicy smart constructor.

Constructors

InstanceResizePolicy' 

Fields

Instances

Instances details
Eq InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

Read InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

Show InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

Generic InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

Associated Types

type Rep InstanceResizePolicy :: Type -> Type #

NFData InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

Methods

rnf :: InstanceResizePolicy -> () #

Hashable InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

ToJSON InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

FromJSON InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

type Rep InstanceResizePolicy Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceResizePolicy

type Rep InstanceResizePolicy = D1 ('MetaData "InstanceResizePolicy" "Amazonka.EMR.Types.InstanceResizePolicy" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "InstanceResizePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instancesToProtect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "instancesToTerminate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "instanceTerminationTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newInstanceResizePolicy :: InstanceResizePolicy Source #

Create a value of InstanceResizePolicy 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:instancesToProtect:InstanceResizePolicy', instanceResizePolicy_instancesToProtect - Specific list of instances to be protected when shrinking an instance group.

$sel:instancesToTerminate:InstanceResizePolicy', instanceResizePolicy_instancesToTerminate - Specific list of instances to be terminated when shrinking an instance group.

$sel:instanceTerminationTimeout:InstanceResizePolicy', instanceResizePolicy_instanceTerminationTimeout - Decommissioning timeout override for the specific list of instances to be terminated.

instanceResizePolicy_instancesToProtect :: Lens' InstanceResizePolicy (Maybe [Text]) Source #

Specific list of instances to be protected when shrinking an instance group.

instanceResizePolicy_instancesToTerminate :: Lens' InstanceResizePolicy (Maybe [Text]) Source #

Specific list of instances to be terminated when shrinking an instance group.

instanceResizePolicy_instanceTerminationTimeout :: Lens' InstanceResizePolicy (Maybe Int) Source #

Decommissioning timeout override for the specific list of instances to be terminated.