com.pulumi.aws.iot.kotlin.inputs.TopicRuleIotAnalyticArgs.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.TopicRuleIotAnalyticArgs.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 Analytics via a batch call.
* @property channelName Name of AWS IOT Analytics channel.
* @property roleArn The ARN of the IAM role that grants access.
*/
public data class TopicRuleIotAnalyticArgs(
public val batchMode: Output? = null,
public val channelName: Output,
public val roleArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.iot.inputs.TopicRuleIotAnalyticArgs =
com.pulumi.aws.iot.inputs.TopicRuleIotAnalyticArgs.builder()
.batchMode(batchMode?.applyValue({ args0 -> args0 }))
.channelName(channelName.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TopicRuleIotAnalyticArgs].
*/
@PulumiTagMarker
public class TopicRuleIotAnalyticArgsBuilder internal constructor() {
private var batchMode: Output? = null
private var channelName: Output? = null
private var roleArn: Output? = null
/**
* @param value The payload that contains a JSON array of records will be sent to IoT Analytics via a batch call.
*/
@JvmName("earcwfepcbrfppkh")
public suspend fun batchMode(`value`: Output) {
this.batchMode = value
}
/**
* @param value Name of AWS IOT Analytics channel.
*/
@JvmName("vksagwxqidiqqfeu")
public suspend fun channelName(`value`: Output) {
this.channelName = value
}
/**
* @param value The ARN of the IAM role that grants access.
*/
@JvmName("cdtpwoupxmwofoja")
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 Analytics via a batch call.
*/
@JvmName("tgerchnsoxwlrkbh")
public suspend fun batchMode(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.batchMode = mapped
}
/**
* @param value Name of AWS IOT Analytics channel.
*/
@JvmName("xqncyxgalxxbfxro")
public suspend fun channelName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.channelName = mapped
}
/**
* @param value The ARN of the IAM role that grants access.
*/
@JvmName("tufrgbdrpmyxhgfs")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
internal fun build(): TopicRuleIotAnalyticArgs = TopicRuleIotAnalyticArgs(
batchMode = batchMode,
channelName = channelName ?: throw PulumiNullFieldException("channelName"),
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy