libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling
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.AutoScaling.Types.TargetTrackingConfiguration

Description

 
Synopsis

Documentation

data TargetTrackingConfiguration Source #

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

See: newTargetTrackingConfiguration smart constructor.

Constructors

TargetTrackingConfiguration' 

Fields

Instances

Instances details
Eq TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Read TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Show TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Generic TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Associated Types

type Rep TargetTrackingConfiguration :: Type -> Type #

NFData TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Hashable TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

ToQuery TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

FromXML TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

type Rep TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

type Rep TargetTrackingConfiguration = D1 ('MetaData "TargetTrackingConfiguration" "Amazonka.AutoScaling.Types.TargetTrackingConfiguration" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "TargetTrackingConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "predefinedMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredefinedMetricSpecification)) :*: S1 ('MetaSel ('Just "customizedMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomizedMetricSpecification))) :*: (S1 ('MetaSel ('Just "disableScaleIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "targetValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))))

newTargetTrackingConfiguration Source #

Create a value of TargetTrackingConfiguration 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:predefinedMetricSpecification:TargetTrackingConfiguration', targetTrackingConfiguration_predefinedMetricSpecification - A predefined metric. You must specify either a predefined metric or a customized metric.

$sel:customizedMetricSpecification:TargetTrackingConfiguration', targetTrackingConfiguration_customizedMetricSpecification - A customized metric. You must specify either a predefined metric or a customized metric.

$sel:disableScaleIn:TargetTrackingConfiguration', targetTrackingConfiguration_disableScaleIn - Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

$sel:targetValue:TargetTrackingConfiguration', targetTrackingConfiguration_targetValue - The target value for the metric.

targetTrackingConfiguration_predefinedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedMetricSpecification) Source #

A predefined metric. You must specify either a predefined metric or a customized metric.

targetTrackingConfiguration_customizedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedMetricSpecification) Source #

A customized metric. You must specify either a predefined metric or a customized metric.

targetTrackingConfiguration_disableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool) Source #

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.