LaunchMetricDefinitionObjectArgs

data class LaunchMetricDefinitionObjectArgs(val entityIdKey: Output<String>, val eventPattern: Output<String>? = null, val metricName: Output<String>, val unitLabel: Output<String>? = null, val valueKey: Output<String>) : ConvertibleToJava<LaunchMetricDefinitionObjectArgs>

Constructors

Link copied to clipboard
constructor(entityIdKey: Output<String>, eventPattern: Output<String>? = null, metricName: Output<String>, unitLabel: Output<String>? = null, valueKey: Output<String>)

Properties

Link copied to clipboard
val entityIdKey: Output<String>

The JSON path to reference the entity id in the event.

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

Event patterns have the same structure as the events they match. Rules use event patterns to select events. An event pattern either matches an event or it doesn't.

Link copied to clipboard
val metricName: Output<String>

A name for the metric. It can include up to 255 characters.

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

A label for the units that the metric is measuring.

Link copied to clipboard
val valueKey: Output<String>

The JSON path to reference the numerical metric value in the event.

Functions

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