![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iotevents.kotlin.inputs.InputDefinitionArgs.kt Maven / Gradle / Ivy
@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 ITE 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 ITE 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("nusjhnypvkgqmrbw")
public suspend fun attributes(`value`: Output>) {
this.attributes = value
}
@JvmName("iupdhyonlecocwxi")
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 ITE 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("jalnvoxugacnqlub")
public suspend fun attributes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy