![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotevents.kotlin.outputs.AlarmModelIotTopicPublish.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotevents.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Information required to publish the MQTT message through the IoT message broker.
* @property mqttTopic The MQTT topic of the message. You can use a string expression that includes variables (``$variable.``) and input values (``$input..``) as the topic string.
* @property payload You can configure the action payload when you publish a message to an IoTCore topic.
*/
public data class AlarmModelIotTopicPublish(
public val mqttTopic: String,
public val payload: AlarmModelPayload? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.AlarmModelIotTopicPublish): AlarmModelIotTopicPublish = AlarmModelIotTopicPublish(
mqttTopic = javaType.mqttTopic(),
payload = javaType.payload().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotevents.kotlin.outputs.AlarmModelPayload.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy