PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric constructor
const
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetric({
- Input<
String?> ? expression, - required Input<
String> id, - Input<
String?> ? label, - Input<
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStat?> ? metricStat, - 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,
});