All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.msk.kotlin.inputs.ClusterEncryptionInfoEncryptionInTransitArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.msk.kotlin.inputs

import com.pulumi.aws.msk.inputs.ClusterEncryptionInfoEncryptionInTransitArgs.builder
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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property clientBroker Encryption setting for data in transit between clients and brokers. Valid values: `TLS`, `TLS_PLAINTEXT`, and `PLAINTEXT`. Default value is `TLS`.
 * @property inCluster Whether data communication among broker nodes is encrypted. Default value: `true`.
 */
public data class ClusterEncryptionInfoEncryptionInTransitArgs(
    public val clientBroker: Output? = null,
    public val inCluster: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.msk.inputs.ClusterEncryptionInfoEncryptionInTransitArgs =
        com.pulumi.aws.msk.inputs.ClusterEncryptionInfoEncryptionInTransitArgs.builder()
            .clientBroker(clientBroker?.applyValue({ args0 -> args0 }))
            .inCluster(inCluster?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterEncryptionInfoEncryptionInTransitArgs].
 */
@PulumiTagMarker
public class ClusterEncryptionInfoEncryptionInTransitArgsBuilder internal constructor() {
    private var clientBroker: Output? = null

    private var inCluster: Output? = null

    /**
     * @param value Encryption setting for data in transit between clients and brokers. Valid values: `TLS`, `TLS_PLAINTEXT`, and `PLAINTEXT`. Default value is `TLS`.
     */
    @JvmName("wuxyluhujnldbtfm")
    public suspend fun clientBroker(`value`: Output) {
        this.clientBroker = value
    }

    /**
     * @param value Whether data communication among broker nodes is encrypted. Default value: `true`.
     */
    @JvmName("wutmktunhrtqvfai")
    public suspend fun inCluster(`value`: Output) {
        this.inCluster = value
    }

    /**
     * @param value Encryption setting for data in transit between clients and brokers. Valid values: `TLS`, `TLS_PLAINTEXT`, and `PLAINTEXT`. Default value is `TLS`.
     */
    @JvmName("jeyrnkuilsnfnwyu")
    public suspend fun clientBroker(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clientBroker = mapped
    }

    /**
     * @param value Whether data communication among broker nodes is encrypted. Default value: `true`.
     */
    @JvmName("cqryxxpmuyotmera")
    public suspend fun inCluster(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.inCluster = mapped
    }

    internal fun build(): ClusterEncryptionInfoEncryptionInTransitArgs =
        ClusterEncryptionInfoEncryptionInTransitArgs(
            clientBroker = clientBroker,
            inCluster = inCluster,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy