
com.pulumi.awsnative.kinesisanalyticsv2.kotlin.inputs.ApplicationInputLambdaProcessorArgs.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.kinesisanalyticsv2.kotlin.inputs
import com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationInputLambdaProcessorArgs.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
/**
* An object that contains the Amazon Resource Name (ARN) of the Amazon Lambda function that is used to preprocess records in the stream in a SQL-based Kinesis Data Analytics application.
* @property resourceArn The ARN of the Amazon Lambda function that operates on records in the stream.
*/
public data class ApplicationInputLambdaProcessorArgs(
public val resourceArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationInputLambdaProcessorArgs =
com.pulumi.awsnative.kinesisanalyticsv2.inputs.ApplicationInputLambdaProcessorArgs.builder()
.resourceArn(resourceArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationInputLambdaProcessorArgs].
*/
@PulumiTagMarker
public class ApplicationInputLambdaProcessorArgsBuilder internal constructor() {
private var resourceArn: Output? = null
/**
* @param value The ARN of the Amazon Lambda function that operates on records in the stream.
*/
@JvmName("nhyjvxxrgfxmxula")
public suspend fun resourceArn(`value`: Output) {
this.resourceArn = value
}
/**
* @param value The ARN of the Amazon Lambda function that operates on records in the stream.
*/
@JvmName("qhprahmkrupkvwnx")
public suspend fun resourceArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.resourceArn = mapped
}
internal fun build(): ApplicationInputLambdaProcessorArgs = ApplicationInputLambdaProcessorArgs(
resourceArn = resourceArn ?: throw PulumiNullFieldException("resourceArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy