
com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatasetIotEventsDestinationConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iotanalytics.kotlin.inputs
import com.pulumi.awsnative.iotanalytics.inputs.DatasetIotEventsDestinationConfigurationArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property inputName The name of the AWS IoT Events input to which dataset contents are delivered.
* @property roleArn The ARN of the role that grants AWS IoT Analytics permission to deliver dataset contents to an AWS IoT Events input.
*/
public data class DatasetIotEventsDestinationConfigurationArgs(
public val inputName: Output,
public val roleArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.DatasetIotEventsDestinationConfigurationArgs =
com.pulumi.awsnative.iotanalytics.inputs.DatasetIotEventsDestinationConfigurationArgs.builder()
.inputName(inputName.applyValue({ args0 -> args0 }))
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetIotEventsDestinationConfigurationArgs].
*/
@PulumiTagMarker
public class DatasetIotEventsDestinationConfigurationArgsBuilder internal constructor() {
private var inputName: Output? = null
private var roleArn: Output? = null
/**
* @param value The name of the AWS IoT Events input to which dataset contents are delivered.
*/
@JvmName("cgamnbspxqdwsafo")
public suspend fun inputName(`value`: Output) {
this.inputName = value
}
/**
* @param value The ARN of the role that grants AWS IoT Analytics permission to deliver dataset contents to an AWS IoT Events input.
*/
@JvmName("rdfthjgshnllkend")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The name of the AWS IoT Events input to which dataset contents are delivered.
*/
@JvmName("oyjdpsjwcpepqwvy")
public suspend fun inputName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.inputName = mapped
}
/**
* @param value The ARN of the role that grants AWS IoT Analytics permission to deliver dataset contents to an AWS IoT Events input.
*/
@JvmName("fklpdavlulwofuhk")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
internal fun build(): DatasetIotEventsDestinationConfigurationArgs =
DatasetIotEventsDestinationConfigurationArgs(
inputName = inputName ?: throw PulumiNullFieldException("inputName"),
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy