MetricArgs

data class MetricArgs(val dimensions: Output<List<DimensionArgs>>? = null, val metricName: Output<String>? = null, val namespace: Output<String>? = null) : ConvertibleToJava<MetricArgs>

Definition of Metric

Constructors

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

Properties

Link copied to clipboard
val dimensions: Output<List<DimensionArgs>>? = null

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

Link copied to clipboard
val metricName: Output<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: Output<String>? = null

The namespace of the metric that the alarm will watch.

Functions

Link copied to clipboard
open override fun toJava(): MetricArgs