
com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelEvent.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.iotevents.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Specifies the `actions` to be performed when the `condition` evaluates to `TRUE`.
* @property actions The actions to be performed.
* @property condition The Boolean expression that, when `TRUE`, causes the `actions` to be performed. If not present, the `actions` are performed (=`TRUE`). If the expression result is not a `Boolean` value, the `actions` are not performed (=`FALSE`).
* @property eventName The name of the event.
*/
public data class DetectorModelEvent(
public val actions: List? = null,
public val condition: String? = null,
public val eventName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.DetectorModelEvent): DetectorModelEvent = DetectorModelEvent(
actions = javaType.actions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelAction.Companion.toKotlin(args0)
})
}),
condition = javaType.condition().map({ args0 -> args0 }).orElse(null),
eventName = javaType.eventName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy