MetricCriteriaArgs

data class MetricCriteriaArgs(val criterionType: Output<String>, val dimensions: Output<List<MetricDimensionArgs>>? = null, val metricName: Output<String>, val metricNamespace: Output<String>? = null, val name: Output<String>, val operator: Output<Either<String, Operator>>, val skipMetricValidation: Output<Boolean>? = null, val threshold: Output<Double>, val timeAggregation: Output<Either<String, AggregationTypeEnum>>) : ConvertibleToJava<MetricCriteriaArgs>

Criterion to filter metrics.

Constructors

Link copied to clipboard
constructor(criterionType: Output<String>, dimensions: Output<List<MetricDimensionArgs>>? = null, metricName: Output<String>, metricNamespace: Output<String>? = null, name: Output<String>, operator: Output<Either<String, Operator>>, skipMetricValidation: Output<Boolean>? = null, threshold: Output<Double>, timeAggregation: Output<Either<String, AggregationTypeEnum>>)

Properties

Link copied to clipboard
val criterionType: Output<String>

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

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

List of dimension conditions.

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
val operator: Output<Either<String, Operator>>

the criteria operator.

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

the criteria threshold value that activates the alert.

Link copied to clipboard

the criteria time aggregation types.

Functions

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