com.pulumi.aws.msk.kotlin.inputs.ClusterClientAuthenticationArgs.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.msk.kotlin.inputs
import com.pulumi.aws.msk.inputs.ClusterClientAuthenticationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property sasl Configuration block for specifying SASL client authentication. See below.
* @property tls Configuration block for specifying TLS client authentication. See below.
* @property unauthenticated Enables unauthenticated access.
*/
public data class ClusterClientAuthenticationArgs(
public val sasl: Output? = null,
public val tls: Output? = null,
public val unauthenticated: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.msk.inputs.ClusterClientAuthenticationArgs =
com.pulumi.aws.msk.inputs.ClusterClientAuthenticationArgs.builder()
.sasl(sasl?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tls(tls?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.unauthenticated(unauthenticated?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterClientAuthenticationArgs].
*/
@PulumiTagMarker
public class ClusterClientAuthenticationArgsBuilder internal constructor() {
private var sasl: Output? = null
private var tls: Output? = null
private var unauthenticated: Output? = null
/**
* @param value Configuration block for specifying SASL client authentication. See below.
*/
@JvmName("giebgbqcukhllslm")
public suspend fun sasl(`value`: Output) {
this.sasl = value
}
/**
* @param value Configuration block for specifying TLS client authentication. See below.
*/
@JvmName("nngunimbokadhhea")
public suspend fun tls(`value`: Output) {
this.tls = value
}
/**
* @param value Enables unauthenticated access.
*/
@JvmName("bjqomqldwuvjfaag")
public suspend fun unauthenticated(`value`: Output) {
this.unauthenticated = value
}
/**
* @param value Configuration block for specifying SASL client authentication. See below.
*/
@JvmName("mbysalbdpdidycwa")
public suspend fun sasl(`value`: ClusterClientAuthenticationSaslArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sasl = mapped
}
/**
* @param argument Configuration block for specifying SASL client authentication. See below.
*/
@JvmName("tcicoqskdddyslme")
public suspend fun sasl(argument: suspend ClusterClientAuthenticationSaslArgsBuilder.() -> Unit) {
val toBeMapped = ClusterClientAuthenticationSaslArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sasl = mapped
}
/**
* @param value Configuration block for specifying TLS client authentication. See below.
*/
@JvmName("fjimwffbycrrwwue")
public suspend fun tls(`value`: ClusterClientAuthenticationTlsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tls = mapped
}
/**
* @param argument Configuration block for specifying TLS client authentication. See below.
*/
@JvmName("celeyjhdcoglbjuo")
public suspend fun tls(argument: suspend ClusterClientAuthenticationTlsArgsBuilder.() -> Unit) {
val toBeMapped = ClusterClientAuthenticationTlsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.tls = mapped
}
/**
* @param value Enables unauthenticated access.
*/
@JvmName("vumdnnkcjsnbtvjj")
public suspend fun unauthenticated(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.unauthenticated = mapped
}
internal fun build(): ClusterClientAuthenticationArgs = ClusterClientAuthenticationArgs(
sasl = sasl,
tls = tls,
unauthenticated = unauthenticated,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy