Service Level Objective Metric Stat
data class ServiceLevelObjectiveMetricStat(val metric: ServiceLevelObjectiveMetric, val period: Int, val stat: String, val unit: String? = null)
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.
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.