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.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
Eq AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

Read AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

Show 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 #

NFData AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

Hashable AutoScalingPolicyDescription Source # 
Instance details

Defined in Amazonka.EMR.Types.AutoScalingPolicyDescription

FromJSON 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" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "AutoScalingPolicyDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoScalingPolicyStatus)) :*: (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ScalingRule])) :*: S1 ('MetaSel ('Just "constraints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScalingConstraints)))))

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:status:AutoScalingPolicyDescription', autoScalingPolicyDescription_status - The status of an automatic scaling policy.

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

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

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

The scale-in and scale-out rules that comprise the 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.