PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery constructor

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

Creates a new PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery. 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 predictive scaling policy. label Human-readable label for this metric or expression. metricStat Structure that defines CloudWatch metric to be used in predictive 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 PolicyPredictiveScalingConfigurationMetricSpecificationCustomizedLoadMetricSpecificationMetricDataQuery({
  this.expression,
  required this.id,
  this.label,
  this.metricStat,
  this.returnData,
});