
com.pulumi.awsnative.iotevents.kotlin.inputs.InputDefinitionArgs.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.iotevents.kotlin.inputs
import com.pulumi.awsnative.iotevents.inputs.InputDefinitionArgs.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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The definition of the input.
* @property attributes The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using `BatchPutMessage`. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the `condition` expressions used by detectors that monitor this input.
*/
public data class InputDefinitionArgs(
public val attributes: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotevents.inputs.InputDefinitionArgs =
com.pulumi.awsnative.iotevents.inputs.InputDefinitionArgs.builder()
.attributes(
attributes.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [InputDefinitionArgs].
*/
@PulumiTagMarker
public class InputDefinitionArgsBuilder internal constructor() {
private var attributes: Output>? = null
/**
* @param value The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using `BatchPutMessage`. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the `condition` expressions used by detectors that monitor this input.
*/
@JvmName("xdrhmjghmcogersd")
public suspend fun attributes(`value`: Output>) {
this.attributes = value
}
@JvmName("sdjeriwfygcrhopk")
public suspend fun attributes(vararg values: Output) {
this.attributes = Output.all(values.asList())
}
/**
* @param values The attributes from the JSON payload that are made available by the input. Inputs are derived from messages sent to the AWS IoT Events system using `BatchPutMessage`. Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the `condition` expressions used by detectors that monitor this input.
*/
@JvmName("upjxvgmrijmhsejk")
public suspend fun attributes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy