LaunchMetricMonitorMetricDefinition

data class LaunchMetricMonitorMetricDefinition(val entityIdKey: String, val eventPattern: String? = null, val name: String, val unitLabel: String? = null, val valueKey: String)

Constructors

Link copied to clipboard
constructor(entityIdKey: String, eventPattern: String? = null, name: String, unitLabel: String? = null, valueKey: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies the entity, such as a user or session, that does an action that causes a metric value to be recorded. An example is userDetails.userID.

Link copied to clipboard
val eventPattern: String? = null

Specifies The EventBridge event pattern that defines how the metric is recorded.

Link copied to clipboard

Specifies the name for the metric.

Link copied to clipboard
val unitLabel: String? = null

Specifies a label for the units that the metric is measuring.

Link copied to clipboard

Specifies the value that is tracked to produce the metric.