MetricAlertCriteria

data class MetricAlertCriteria(val aggregation: String, val dimensions: List<MetricAlertCriteriaDimension>? = null, val metricName: String, val metricNamespace: String, val operator: String, val skipMetricValidation: Boolean? = null, val threshold: Double)

Constructors

Link copied to clipboard
constructor(aggregation: String, dimensions: List<MetricAlertCriteriaDimension>? = null, metricName: String, metricNamespace: String, operator: String, skipMetricValidation: Boolean? = null, threshold: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The statistic that runs over the metric values. Possible values are Average, Count, Minimum, Maximum and Total.

Link copied to clipboard

One or more dimension blocks as defined below.

Link copied to clipboard

One of the metric names to be monitored.

Link copied to clipboard

One of the metric namespaces to be monitored.

Link copied to clipboard

The criteria operator. Possible values are Equals, GreaterThan, GreaterThanOrEqual, LessThan and LessThanOrEqual.

Link copied to clipboard

Skip the metric validation to allow creating an alert rule on a custom metric that isn't yet emitted? Defaults to false.

Link copied to clipboard

The criteria threshold value that activates the alert.