amazonka-emr-2.0: Amazon EMR 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.EMR.Types.AutoScalingPolicyDescription

Description

 
Synopsis

Documentation

data AutoScalingPolicyDescription Source #

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

See: newAutoScalingPolicyDescription smart constructor.

Constructors

AutoScalingPolicyDescription' 

Fields

Instances

Instances details
FromJSON AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

Generic AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

Associated Types

type Rep AutoScalingPolicyDescription :: Type -> Type #

Read AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

Show AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

NFData AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

Eq AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

Hashable AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

type Rep AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

type Rep AutoScalingPolicyDescription = D1 ('MetaData "AutoScalingPolicyDescription" "Amazonka.EMR.Types.AutoScalingPolicyDescription" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "AutoScalingPolicyDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "constraints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScalingConstraints)) :*: (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScalingRule])) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoScalingPolicyStatus)))))

newAutoScalingPolicyDescription :: AutoScalingPolicyDescription Source #

Create a value of AutoScalingPolicyDescription 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:constraints:AutoScalingPolicyDescription', autoScalingPolicyDescription_constraints - The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

$sel:rules:AutoScalingPolicyDescription', autoScalingPolicyDescription_rules - The scale-in and scale-out rules that comprise the automatic scaling policy.

$sel:status:AutoScalingPolicyDescription', autoScalingPolicyDescription_status - The status of an automatic scaling policy.

autoScalingPolicyDescription_constraints :: Lens' AutoScalingPolicyDescription (Maybe ScalingConstraints) Source #

The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

autoScalingPolicyDescription_rules :: Lens' AutoScalingPolicyDescription (Maybe [ScalingRule]) Source #

The scale-in and scale-out rules that comprise the automatic scaling policy.