![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelLambda.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotevents.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Calls a Lambda function, passing in information about the detector model instance and the event that triggered the action.
* @property functionArn The ARN of the Lambda function that is executed.
* @property payload You can configure the action payload when you send a message to a Lambda function.
*/
public data class DetectorModelLambda(
public val functionArn: String,
public val payload: DetectorModelPayload? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.DetectorModelLambda): DetectorModelLambda = DetectorModelLambda(
functionArn = javaType.functionArn(),
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