
com.pulumi.awsnative.msk.kotlin.inputs.ClusterEncryptionInTransitArgs.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.msk.kotlin.inputs
import com.pulumi.awsnative.msk.inputs.ClusterEncryptionInTransitArgs.builder
import com.pulumi.awsnative.msk.kotlin.enums.ClusterEncryptionInTransitClientBroker
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property clientBroker Indicates the encryption setting for data in transit between clients and brokers. You must set it to one of the following values.
* `TLS` means that client-broker communication is enabled with TLS only.
* `TLS_PLAINTEXT` means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
* `PLAINTEXT` means that client-broker communication is enabled in plaintext only.
* The default value is `TLS` .
* @property inCluster When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
* The default value is true.
*/
public data class ClusterEncryptionInTransitArgs(
public val clientBroker: Output? = null,
public val inCluster: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.msk.inputs.ClusterEncryptionInTransitArgs =
com.pulumi.awsnative.msk.inputs.ClusterEncryptionInTransitArgs.builder()
.clientBroker(clientBroker?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.inCluster(inCluster?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterEncryptionInTransitArgs].
*/
@PulumiTagMarker
public class ClusterEncryptionInTransitArgsBuilder internal constructor() {
private var clientBroker: Output? = null
private var inCluster: Output? = null
/**
* @param value Indicates the encryption setting for data in transit between clients and brokers. You must set it to one of the following values.
* `TLS` means that client-broker communication is enabled with TLS only.
* `TLS_PLAINTEXT` means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
* `PLAINTEXT` means that client-broker communication is enabled in plaintext only.
* The default value is `TLS` .
*/
@JvmName("eranwqwbbrdlwsns")
public suspend fun clientBroker(`value`: Output) {
this.clientBroker = value
}
/**
* @param value When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
* The default value is true.
*/
@JvmName("iofjogjrbedswapn")
public suspend fun inCluster(`value`: Output) {
this.inCluster = value
}
/**
* @param value Indicates the encryption setting for data in transit between clients and brokers. You must set it to one of the following values.
* `TLS` means that client-broker communication is enabled with TLS only.
* `TLS_PLAINTEXT` means that client-broker communication is enabled for both TLS-encrypted, as well as plaintext data.
* `PLAINTEXT` means that client-broker communication is enabled in plaintext only.
* The default value is `TLS` .
*/
@JvmName("yksotqfkpmyqkpyo")
public suspend fun clientBroker(`value`: ClusterEncryptionInTransitClientBroker?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.clientBroker = mapped
}
/**
* @param value When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.
* The default value is true.
*/
@JvmName("lvxjcokbhqbomoms")
public suspend fun inCluster(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.inCluster = mapped
}
internal fun build(): ClusterEncryptionInTransitArgs = ClusterEncryptionInTransitArgs(
clientBroker = clientBroker,
inCluster = inCluster,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy