MetricAlertDynamicCriteriaArgs

data class MetricAlertDynamicCriteriaArgs(val aggregation: Output<String>, val alertSensitivity: Output<String>, val dimensions: Output<List<MetricAlertDynamicCriteriaDimensionArgs>>? = null, val evaluationFailureCount: Output<Int>? = null, val evaluationTotalCount: Output<Int>? = null, val ignoreDataBefore: Output<String>? = null, val metricName: Output<String>, val metricNamespace: Output<String>, val operator: Output<String>, val skipMetricValidation: Output<Boolean>? = null) : ConvertibleToJava<MetricAlertDynamicCriteriaArgs>

Constructors

Link copied to clipboard
constructor(aggregation: Output<String>, alertSensitivity: Output<String>, dimensions: Output<List<MetricAlertDynamicCriteriaDimensionArgs>>? = null, evaluationFailureCount: Output<Int>? = null, evaluationTotalCount: Output<Int>? = null, ignoreDataBefore: Output<String>? = null, metricName: Output<String>, metricNamespace: Output<String>, operator: Output<String>, skipMetricValidation: Output<Boolean>? = null)

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

The extent of deviation required to trigger an alert. Possible values are Low, Medium and High.

Link copied to clipboard

One or more dimension blocks as defined below.

Link copied to clipboard
val evaluationFailureCount: Output<Int>? = null

The number of violations to trigger an alert. Should be smaller or equal to evaluation_total_count. Defaults to 4.

Link copied to clipboard
val evaluationTotalCount: Output<Int>? = null

The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (window_size) and the selected number of aggregated points. Defaults to 4.

Link copied to clipboard
val ignoreDataBefore: Output<String>? = null

The ISO8601 date from which to start learning the metric historical data and calculate the dynamic thresholds.

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 LessThan, GreaterThan and GreaterOrLessThan.

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?

Functions

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