
com.pulumi.awsnative.evidently.kotlin.outputs.LaunchMetricDefinitionObject.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.evidently.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property entityIdKey The JSON path to reference the entity id in the event.
* @property eventPattern 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.
* @property metricName A name for the metric. It can include up to 255 characters.
* @property unitLabel A label for the units that the metric is measuring.
* @property valueKey The JSON path to reference the numerical metric value in the event.
*/
public data class LaunchMetricDefinitionObject(
public val entityIdKey: String,
public val eventPattern: String? = null,
public val metricName: String,
public val unitLabel: String? = null,
public val valueKey: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.evidently.outputs.LaunchMetricDefinitionObject): LaunchMetricDefinitionObject = LaunchMetricDefinitionObject(
entityIdKey = javaType.entityIdKey(),
eventPattern = javaType.eventPattern().map({ args0 -> args0 }).orElse(null),
metricName = javaType.metricName(),
unitLabel = javaType.unitLabel().map({ args0 -> args0 }).orElse(null),
valueKey = javaType.valueKey(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy