com.pulumi.awsnative.msk.kotlin.enums.ClusterEncryptionInTransitClientBroker.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.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* 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` .
*/
public enum class ClusterEncryptionInTransitClientBroker(
public val javaValue: com.pulumi.awsnative.msk.enums.ClusterEncryptionInTransitClientBroker,
) : ConvertibleToJava {
Tls(com.pulumi.awsnative.msk.enums.ClusterEncryptionInTransitClientBroker.Tls),
TlsPlaintext(com.pulumi.awsnative.msk.enums.ClusterEncryptionInTransitClientBroker.TlsPlaintext),
Plaintext(com.pulumi.awsnative.msk.enums.ClusterEncryptionInTransitClientBroker.Plaintext),
;
override fun toJava(): com.pulumi.awsnative.msk.enums.ClusterEncryptionInTransitClientBroker =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.msk.enums.ClusterEncryptionInTransitClientBroker): ClusterEncryptionInTransitClientBroker =
ClusterEncryptionInTransitClientBroker.values().first { it.javaValue == javaType }
}
}