
com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamMskSourceConfigurationArgs.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.kinesisfirehose.kotlin.inputs
import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamMskSourceConfigurationArgs.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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property authenticationConfiguration The authentication configuration of the Amazon MSK cluster.
* @property mskClusterArn The ARN of the Amazon MSK cluster.
* @property topicName The topic name within the Amazon MSK cluster.
*/
public data class DeliveryStreamMskSourceConfigurationArgs(
public val authenticationConfiguration: Output,
public val mskClusterArn: Output,
public val topicName: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamMskSourceConfigurationArgs =
com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamMskSourceConfigurationArgs.builder()
.authenticationConfiguration(
authenticationConfiguration.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.mskClusterArn(mskClusterArn.applyValue({ args0 -> args0 }))
.topicName(topicName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeliveryStreamMskSourceConfigurationArgs].
*/
@PulumiTagMarker
public class DeliveryStreamMskSourceConfigurationArgsBuilder internal constructor() {
private var authenticationConfiguration: Output? =
null
private var mskClusterArn: Output? = null
private var topicName: Output? = null
/**
* @param value The authentication configuration of the Amazon MSK cluster.
*/
@JvmName("eiouhsomapywvvql")
public suspend fun authenticationConfiguration(`value`: Output) {
this.authenticationConfiguration = value
}
/**
* @param value The ARN of the Amazon MSK cluster.
*/
@JvmName("irsabrsbjkbtksfh")
public suspend fun mskClusterArn(`value`: Output) {
this.mskClusterArn = value
}
/**
* @param value The topic name within the Amazon MSK cluster.
*/
@JvmName("ibhhjleuakrabssc")
public suspend fun topicName(`value`: Output) {
this.topicName = value
}
/**
* @param value The authentication configuration of the Amazon MSK cluster.
*/
@JvmName("paipllmtsmjaqhxf")
public suspend fun authenticationConfiguration(`value`: DeliveryStreamAuthenticationConfigurationArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.authenticationConfiguration = mapped
}
/**
* @param argument The authentication configuration of the Amazon MSK cluster.
*/
@JvmName("xibqtyrjocuaatnh")
public suspend fun authenticationConfiguration(argument: suspend DeliveryStreamAuthenticationConfigurationArgsBuilder.() -> Unit) {
val toBeMapped = DeliveryStreamAuthenticationConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.authenticationConfiguration = mapped
}
/**
* @param value The ARN of the Amazon MSK cluster.
*/
@JvmName("luhcumuxdveevbfr")
public suspend fun mskClusterArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mskClusterArn = mapped
}
/**
* @param value The topic name within the Amazon MSK cluster.
*/
@JvmName("gggpklbymfehfrrh")
public suspend fun topicName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.topicName = mapped
}
internal fun build(): DeliveryStreamMskSourceConfigurationArgs =
DeliveryStreamMskSourceConfigurationArgs(
authenticationConfiguration = authenticationConfiguration ?: throw
PulumiNullFieldException("authenticationConfiguration"),
mskClusterArn = mskClusterArn ?: throw PulumiNullFieldException("mskClusterArn"),
topicName = topicName ?: throw PulumiNullFieldException("topicName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy