All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelIotEvents.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iotevents.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Sends an ITE input, passing in information about the detector model instance and the event that triggered the action.
 * @property inputName The name of the ITE input where the data is sent.
 * @property payload You can configure the action payload when you send a message to an ITE input.
 */
public data class DetectorModelIotEvents(
    public val inputName: String,
    public val payload: DetectorModelPayload? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.DetectorModelIotEvents): DetectorModelIotEvents = DetectorModelIotEvents(
            inputName = javaType.inputName(),
            payload = javaType.payload().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelPayload.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy