MetricAlarmMetricQueryMetric

data class MetricAlarmMetricQueryMetric(val dimensions: Map<String, String>? = null, val metricName: String, val namespace: String? = null, val period: Int, val stat: String, val unit: String? = null)

Constructors

Link copied to clipboard
constructor(dimensions: Map<String, String>? = null, metricName: String, namespace: String? = null, period: Int, stat: String, unit: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val dimensions: Map<String, String>? = null

The dimensions for this metric. For the list of available dimensions see the AWS documentation here.

Link copied to clipboard

The name for this metric. See docs for supported metrics.

Link copied to clipboard
val namespace: String? = null

The namespace for this metric. See docs for the list of namespaces. See docs for supported metrics.

Link copied to clipboard
val period: Int

Granularity in seconds of returned data points. For metrics with regular resolution, valid values are any multiple of 60. For high-resolution metrics, valid values are 1, 5, 10, 30, or any multiple of 60.

Link copied to clipboard

The statistic to apply to this metric. See docs for supported statistics.

Link copied to clipboard
val unit: String? = null

The unit for this metric.