com.pulumi.aws.iot.kotlin.inputs.TopicRuleErrorActionIotEventsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.iot.kotlin.inputs
import com.pulumi.aws.iot.inputs.TopicRuleErrorActionIotEventsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property batchMode The payload that contains a JSON array of records will be sent to IoT Events via a batch call.
* @property inputName The name of the AWS IoT Events input.
* @property messageId Use this to ensure that only one input (message) with a given messageId is processed by an AWS IoT Events detector.
* @property roleArn The ARN of the IAM role that grants access.
*/
public data class TopicRuleErrorActionIotEventsArgs(
public val batchMode: Output? = null,
public val inputName: Output,
public val messageId: Output? = null,
public val roleArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.iot.inputs.TopicRuleErrorActionIotEventsArgs =
com.pulumi.aws.iot.inputs.TopicRuleErrorActionIotEventsArgs.builder()
.batchMode(batchMode?.applyValue({ args0 -> args0 }))
.inputName(inputName.applyValue({ args0 -> args0 }))
.messageId(messageId?.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TopicRuleErrorActionIotEventsArgs].
*/
@PulumiTagMarker
public class TopicRuleErrorActionIotEventsArgsBuilder internal constructor() {
private var batchMode: Output? = null
private var inputName: Output? = null
private var messageId: Output? = null
private var roleArn: Output? = null
/**
* @param value The payload that contains a JSON array of records will be sent to IoT Events via a batch call.
*/
@JvmName("xxnahtlawybncdyj")
public suspend fun batchMode(`value`: Output) {
this.batchMode = value
}
/**
* @param value The name of the AWS IoT Events input.
*/
@JvmName("iaqcsjioyiwcunus")
public suspend fun inputName(`value`: Output) {
this.inputName = value
}
/**
* @param value Use this to ensure that only one input (message) with a given messageId is processed by an AWS IoT Events detector.
*/
@JvmName("dywxwdsepcgxhmdd")
public suspend fun messageId(`value`: Output) {
this.messageId = value
}
/**
* @param value The ARN of the IAM role that grants access.
*/
@JvmName("ujiyhhefagvufspk")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The payload that contains a JSON array of records will be sent to IoT Events via a batch call.
*/
@JvmName("wtklcbjfyctgeltl")
public suspend fun batchMode(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.batchMode = mapped
}
/**
* @param value The name of the AWS IoT Events input.
*/
@JvmName("vljqxixxujubqokk")
public suspend fun inputName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.inputName = mapped
}
/**
* @param value Use this to ensure that only one input (message) with a given messageId is processed by an AWS IoT Events detector.
*/
@JvmName("npgkorywtxkdfrks")
public suspend fun messageId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.messageId = mapped
}
/**
* @param value The ARN of the IAM role that grants access.
*/
@JvmName("carsvgocdjxffsqm")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
internal fun build(): TopicRuleErrorActionIotEventsArgs = TopicRuleErrorActionIotEventsArgs(
batchMode = batchMode,
inputName = inputName ?: throw PulumiNullFieldException("inputName"),
messageId = messageId,
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy