
com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamAuthenticationConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs
import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamAuthenticationConfigurationArgs.builder
import com.pulumi.awsnative.kinesisfirehose.kotlin.enums.DeliveryStreamAuthenticationConfigurationConnectivity
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 connectivity The type of connectivity used to access the Amazon MSK cluster.
* @property roleArn The ARN of the role used to access the Amazon MSK cluster.
*/
public data class DeliveryStreamAuthenticationConfigurationArgs(
public val connectivity: Output,
public val roleArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamAuthenticationConfigurationArgs =
com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamAuthenticationConfigurationArgs.builder()
.connectivity(connectivity.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.roleArn(roleArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeliveryStreamAuthenticationConfigurationArgs].
*/
@PulumiTagMarker
public class DeliveryStreamAuthenticationConfigurationArgsBuilder internal constructor() {
private var connectivity: Output? = null
private var roleArn: Output? = null
/**
* @param value The type of connectivity used to access the Amazon MSK cluster.
*/
@JvmName("wgfciynkxcairkpi")
public suspend fun connectivity(`value`: Output) {
this.connectivity = value
}
/**
* @param value The ARN of the role used to access the Amazon MSK cluster.
*/
@JvmName("vlbjgxbgkklvqydi")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value The type of connectivity used to access the Amazon MSK cluster.
*/
@JvmName("vvkabxfinyehhqvt")
public suspend fun connectivity(`value`: DeliveryStreamAuthenticationConfigurationConnectivity) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.connectivity = mapped
}
/**
* @param value The ARN of the role used to access the Amazon MSK cluster.
*/
@JvmName("xtwaqurfvuqulapq")
public suspend fun roleArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.roleArn = mapped
}
internal fun build(): DeliveryStreamAuthenticationConfigurationArgs =
DeliveryStreamAuthenticationConfigurationArgs(
connectivity = connectivity ?: throw PulumiNullFieldException("connectivity"),
roleArn = roleArn ?: throw PulumiNullFieldException("roleArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy