DynamicMetricCriteriaArgs

data class DynamicMetricCriteriaArgs(val alertSensitivity: Output<Either<String, DynamicThresholdSensitivity>>, val criterionType: Output<String>, val dimensions: Output<List<MetricDimensionArgs>>? = null, val failingPeriods: Output<DynamicThresholdFailingPeriodsArgs>, val ignoreDataBefore: Output<String>? = null, val metricName: Output<String>, val metricNamespace: Output<String>? = null, val name: Output<String>, val operator: Output<Either<String, DynamicThresholdOperator>>, val skipMetricValidation: Output<Boolean>? = null, val timeAggregation: Output<Either<String, AggregationTypeEnum>>) : ConvertibleToJava<DynamicMetricCriteriaArgs>

Criterion for dynamic threshold.

Constructors

Link copied to clipboard
constructor(alertSensitivity: Output<Either<String, DynamicThresholdSensitivity>>, criterionType: Output<String>, dimensions: Output<List<MetricDimensionArgs>>? = null, failingPeriods: Output<DynamicThresholdFailingPeriodsArgs>, ignoreDataBefore: Output<String>? = null, metricName: Output<String>, metricNamespace: Output<String>? = null, name: Output<String>, operator: Output<Either<String, DynamicThresholdOperator>>, skipMetricValidation: Output<Boolean>? = null, timeAggregation: Output<Either<String, AggregationTypeEnum>>)

Properties

Link copied to clipboard

The extent of deviation required to trigger an alert. This will affect how tight the threshold is to the metric series pattern.

Link copied to clipboard
val criterionType: Output<String>

Specifies the type of threshold criteria Expected value is 'DynamicThresholdCriterion'.

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

List of dimension conditions.

Link copied to clipboard

The minimum number of violations required within the selected lookback time window required to raise an alert.

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

Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format)

Link copied to clipboard
val metricName: Output<String>

Name of the metric.

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

Namespace of the metric.

Link copied to clipboard
val name: Output<String>

Name of the criteria.

Link copied to clipboard

The operator used to compare the metric value against the threshold.

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

Allows creating an alert rule on a custom metric that isn't yet emitted, by causing the metric validation to be skipped.

Link copied to clipboard

the criteria time aggregation types.

Functions

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