amazonka-autoscaling-2.0: Amazon Auto Scaling 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.AutoScaling.Types.TargetTrackingMetricStat

Description

 
Synopsis

Documentation

data TargetTrackingMetricStat Source #

This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

See: newTargetTrackingMetricStat smart constructor.

Constructors

TargetTrackingMetricStat' 

Fields

  • unit :: Maybe Text

    The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

  • metric :: Metric
     
  • stat :: Text

    The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

    The most commonly used metrics for scaling is Average

Instances

Instances details
ToQuery TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

FromXML TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Generic TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Associated Types

type Rep TargetTrackingMetricStat :: Type -> Type #

Read TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Show TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

NFData TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Eq TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Hashable TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

type Rep TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

type Rep TargetTrackingMetricStat = D1 ('MetaData "TargetTrackingMetricStat" "Amazonka.AutoScaling.Types.TargetTrackingMetricStat" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TargetTrackingMetricStat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Metric) :*: S1 ('MetaSel ('Just "stat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newTargetTrackingMetricStat Source #

Create a value of TargetTrackingMetricStat 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:unit:TargetTrackingMetricStat', targetTrackingMetricStat_unit - The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

$sel:metric:TargetTrackingMetricStat', targetTrackingMetricStat_metric - Undocumented member.

$sel:stat:TargetTrackingMetricStat', targetTrackingMetricStat_stat - The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metrics for scaling is Average

targetTrackingMetricStat_unit :: Lens' TargetTrackingMetricStat (Maybe Text) Source #

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

targetTrackingMetricStat_stat :: Lens' TargetTrackingMetricStat Text Source #

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metrics for scaling is Average