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

Description

 
Synopsis

Documentation

data ScalingConstraints Source #

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

See: newScalingConstraints smart constructor.

Constructors

ScalingConstraints' 

Fields

  • minCapacity :: Int

    The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

  • maxCapacity :: Int

    The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.

Instances

Instances details
Eq ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

Read ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

Show ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

Generic ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

Associated Types

type Rep ScalingConstraints :: Type -> Type #

NFData ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

Methods

rnf :: ScalingConstraints -> () #

Hashable ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

ToJSON ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

FromJSON ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

type Rep ScalingConstraints Source # 
Instance details

Defined in Amazonka.EMR.Types.ScalingConstraints

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

newScalingConstraints Source #

Create a value of ScalingConstraints 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:minCapacity:ScalingConstraints', scalingConstraints_minCapacity - The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

$sel:maxCapacity:ScalingConstraints', scalingConstraints_maxCapacity - The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.

scalingConstraints_minCapacity :: Lens' ScalingConstraints Int Source #

The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.

scalingConstraints_maxCapacity :: Lens' ScalingConstraints Int Source #

The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.