Service Level Objective Metric Stat Args
data class ServiceLevelObjectiveMetricStatArgs(val metric: Output<ServiceLevelObjectiveMetricArgs>, val period: Output<Int>, val stat: Output<String>, val unit: Output<String>? = null) : ConvertibleToJava<ServiceLevelObjectiveMetricStatArgs>
A metric to be used directly for the SLO, or to be used in the math expression that will be used for the SLO. Within one MetricDataQuery object, you must specify either Expression or MetricStat but not both.
Constructors
Link copied to clipboard
constructor(metric: Output<ServiceLevelObjectiveMetricArgs>, period: Output<Int>, stat: Output<String>, unit: Output<String>? = null)
Properties
Link copied to clipboard
Link copied to clipboard
If you omit Unit then all data that was collected with any unit is returned, along with the corresponding units that were specified when the data was reported to CloudWatch. If you specify a unit, the operation returns only data that was collected with that unit specified. If you specify a unit that does not match the data collected, the results of the operation are null. CloudWatch does not perform unit conversions.