MetricRuleTemplateAlertTemplateArgs

data class MetricRuleTemplateAlertTemplateArgs(val category: Output<String>, val escalations: Output<MetricRuleTemplateAlertTemplateEscalationsArgs>? = null, val metricName: Output<String>, val namespace: Output<String>, val ruleName: Output<String>, val webhook: Output<String>? = null) : ConvertibleToJava<MetricRuleTemplateAlertTemplateArgs>

Constructors

Link copied to clipboard
fun MetricRuleTemplateAlertTemplateArgs(category: Output<String>, escalations: Output<MetricRuleTemplateAlertTemplateEscalationsArgs>? = null, metricName: Output<String>, namespace: Output<String>, ruleName: Output<String>, webhook: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val category: Output<String>

The abbreviation of the service name. Valid values: ecs, rds, ads, slb, vpc, apigateway, cdn, cs, dcdn, ddos, eip, elasticsearch, emr, ess, hbase, iot_edge, kvstore_sharding, kvstore_splitrw, kvstore_standard, memcache, mns, mongodb, mongodb_cluster, mongodb_sharding, mq_topic, ocs, opensearch, oss, polardb, petadata, scdn, sharebandwidthpackages, sls, vpn.

Link copied to clipboard

The information about the trigger condition based on the alert level. See escalations below.

Link copied to clipboard
val metricName: Output<String>

The name of the metric.

Link copied to clipboard
val namespace: Output<String>

The namespace of the service.

Link copied to clipboard
val ruleName: Output<String>

The name of the alert rule.

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

The callback URL to which a POST request is sent when an alert is triggered based on the alert rule.