com.pulumi.aws.kinesisanalyticsv2.kotlin.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.kinesisanalyticsv2.kotlin.inputs
import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgs.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 resourceArn The ARN of the destination Kinesis data stream to write to.
*/
public data class
ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgs(
public val resourceArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgs =
com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgs.builder()
.resourceArn(resourceArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgs].
*/
@PulumiTagMarker
public class
ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgsBuilder
internal constructor() {
private var resourceArn: Output? = null
/**
* @param value The ARN of the destination Kinesis data stream to write to.
*/
@JvmName("durkvyureequadxr")
public suspend fun resourceArn(`value`: Output) {
this.resourceArn = value
}
/**
* @param value The ARN of the destination Kinesis data stream to write to.
*/
@JvmName("xynvlkijvcwhmfln")
public suspend fun resourceArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.resourceArn = mapped
}
internal fun build(): ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgs =
ApplicationApplicationConfigurationSqlApplicationConfigurationOutputKinesisStreamsOutputArgs(
resourceArn = resourceArn ?: throw PulumiNullFieldException("resourceArn"),
)
}