com.pulumi.awsnative.iot.kotlin.inputs.TopicRuleIotSiteWiseActionArgs.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.iot.kotlin.inputs
import com.pulumi.awsnative.iot.inputs.TopicRuleIotSiteWiseActionArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property putAssetPropertyValueEntries A list of asset property value entries.
* @property roleArn The ARN of the role that grants AWS IoT permission to send an asset property value to AWS IoT SiteWise. ( `"Action": "iotsitewise:BatchPutAssetPropertyValue"` ). The trust policy can restrict access to specific asset hierarchy paths.
*/
public data class TopicRuleIotSiteWiseActionArgs(
public val putAssetPropertyValueEntries: Output>,
public val roleArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.TopicRuleIotSiteWiseActionArgs =
com.pulumi.awsnative.iot.inputs.TopicRuleIotSiteWiseActionArgs.builder()
.putAssetPropertyValueEntries(
putAssetPropertyValueEntries.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TopicRuleIotSiteWiseActionArgs].
*/
@PulumiTagMarker
public class TopicRuleIotSiteWiseActionArgsBuilder internal constructor() {
private var putAssetPropertyValueEntries: Output>? =
null
private var roleArn: Output? = null
/**
* @param value A list of asset property value entries.
*/
@JvmName("wubobtslovylnmui")
public suspend fun putAssetPropertyValueEntries(`value`: Output>) {
this.putAssetPropertyValueEntries = value
}
@JvmName("lpatutjrweiwgwuq")
public suspend fun putAssetPropertyValueEntries(vararg values: Output) {
this.putAssetPropertyValueEntries = Output.all(values.asList())
}
/**
* @param values A list of asset property value entries.
*/
@JvmName("tevakxlytqrxvedq")
public suspend fun putAssetPropertyValueEntries(values: List