AlarmMetricStat

data class AlarmMetricStat(val metric: AlarmMetric, val period: Int, val stat: String, val unit: String? = null)

This structure defines the metric to be returned, along with the statistics, period, and units.

Constructors

Link copied to clipboard
fun AlarmMetricStat(metric: AlarmMetric, period: Int, stat: String, unit: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The metric to return, including the metric name, namespace, and dimensions.

Link copied to clipboard
val period: Int

The granularity, in seconds, of the returned data points.

Link copied to clipboard

The statistic to return.

Link copied to clipboard
val unit: String? = null

The unit to use for the returned data points.