PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric constructor

const PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric({
  1. Input<String?>? expression,
  2. required Input<String> id,
  3. Input<String?>? label,
  4. Input<PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStat?>? metricStat,
  5. Input<bool?>? returnData,
})

Creates a new PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric. expression Math expression used on the returned metric. You must specify either expression or metricStat, but not both. id Short name for the metric used in target tracking scaling policy. label Human-readable label for this metric or expression. metricStat Structure that defines CloudWatch metric to be used in target tracking scaling policy. You must specify either expression or metricStat, but not both. returnData Boolean that indicates whether to return the timestamps and raw data values of this metric, the default is true

Implementation

const PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric({
  this.expression,
  required this.id,
  this.label,
  this.metricStat,
  this.returnData,
});