com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelSns.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
/**
* Information required to publish the Amazon SNS message.
* @property payload You can configure the action payload when you send a message as an Amazon SNS push notification.
* @property targetArn The ARN of the Amazon SNS target where the message is sent.
*/
public data class DetectorModelSns(
public val payload: DetectorModelPayload? = null,
public val targetArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iotevents.outputs.DetectorModelSns): DetectorModelSns = DetectorModelSns(
payload = javaType.payload().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iotevents.kotlin.outputs.DetectorModelPayload.Companion.toKotlin(args0)
})
}).orElse(null),
targetArn = javaType.targetArn(),
)
}
}