MetricAlertCriteriaArgs

data class MetricAlertCriteriaArgs(val aggregation: Output<String>, val dimensions: Output<List<MetricAlertCriteriaDimensionArgs>>? = null, val metricName: Output<String>, val metricNamespace: Output<String>, val operator: Output<String>, val skipMetricValidation: Output<Boolean>? = null, val threshold: Output<Double>) : ConvertibleToJava<MetricAlertCriteriaArgs>

Constructors

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

Properties

Link copied to clipboard
val aggregation: Output<String>

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
val metricName: Output<String>

One of the metric names to be monitored.

Link copied to clipboard
val metricNamespace: Output<String>

One of the metric namespaces to be monitored.

Link copied to clipboard
val operator: Output<String>

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

Link copied to clipboard
val skipMetricValidation: Output<Boolean>? = null

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
val threshold: Output<Double>

The criteria threshold value that activates the alert.

Functions

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