![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotevents.kotlin.outputs.AlarmModelIotSiteWise.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
/**
* Sends information about the alarm model instance and the event that triggered the action to a specified asset property in AWS IoT SiteWise.
* @property assetId The ID of the asset that has the specified property. You can specify an expression.
* @property entryId A unique identifier for this entry. You can use the entry ID to track which data entry causes an error in case of failure. The default is a new unique identifier. You can also specify an expression.
* @property propertyAlias The alias of the asset property. You can also specify an expression.
* @property propertyId The ID of the asset property. You can specify an expression.
* @property propertyValue
*/
public data class AlarmModelIotSiteWise(
public val assetId: String? = null,
public val entryId: String? = null,
public val propertyAlias: String? = null,
public val propertyId: String? = null,
public val propertyValue: AlarmModelAssetPropertyValue? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.AlarmModelIotSiteWise): AlarmModelIotSiteWise = AlarmModelIotSiteWise(
assetId = javaType.assetId().map({ args0 -> args0 }).orElse(null),
entryId = javaType.entryId().map({ args0 -> args0 }).orElse(null),
propertyAlias = javaType.propertyAlias().map({ args0 -> args0 }).orElse(null),
propertyId = javaType.propertyId().map({ args0 -> args0 }).orElse(null),
propertyValue = javaType.propertyValue().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotevents.kotlin.outputs.AlarmModelAssetPropertyValue.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy