![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.outputs.TopicRuleIotAnalyticsAction.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property batchMode Whether to process the action as a batch. The default value is `false` .
* When `batchMode` is `true` and the rule SQL statement evaluates to an Array, each Array element is delivered as a separate message when passed by [`BatchPutMessage`](https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html) The resulting array can't have more than 100 messages.
* @property channelName The name of the IoT Analytics channel to which message data will be sent.
* @property roleArn The ARN of the role which has a policy that grants IoT Analytics permission to send message data via IoT Analytics (iotanalytics:BatchPutMessage).
*/
public data class TopicRuleIotAnalyticsAction(
public val batchMode: Boolean? = null,
public val channelName: String,
public val roleArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.TopicRuleIotAnalyticsAction): TopicRuleIotAnalyticsAction = TopicRuleIotAnalyticsAction(
batchMode = javaType.batchMode().map({ args0 -> args0 }).orElse(null),
channelName = javaType.channelName(),
roleArn = javaType.roleArn(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy