Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data TargetTrackingMetricStat = TargetTrackingMetricStat' {}
- newTargetTrackingMetricStat :: Metric -> Text -> TargetTrackingMetricStat
- targetTrackingMetricStat_unit :: Lens' TargetTrackingMetricStat (Maybe Text)
- targetTrackingMetricStat_metric :: Lens' TargetTrackingMetricStat Metric
- targetTrackingMetricStat_stat :: Lens' TargetTrackingMetricStat Text
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.
TargetTrackingMetricStat' | |
|
Instances
newTargetTrackingMetricStat Source #
:: Metric | |
-> Text | |
-> TargetTrackingMetricStat |
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_metric :: Lens' TargetTrackingMetricStat Metric Source #
Undocumented member.
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