AlarmMetric

data class AlarmMetric(val dimensions: List<AlarmDimension>? = null, val metricName: String? = null, val namespace: String? = null)

The `Metric` property type represents a specific metric. `Metric` is a property of the MetricStat property type.

Constructors

Link copied to clipboard
constructor(dimensions: List<AlarmDimension>? = null, metricName: String? = null, namespace: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The metric dimensions that you want to be used for the metric that the alarm will watch.

Link copied to clipboard
val metricName: String? = null

The name of the metric that you want the alarm to watch. This is a required field.

Link copied to clipboard
val namespace: String? = null

The namespace of the metric that the alarm will watch.