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

com.pulumi.awsnative.msk.kotlin.inputs.ClusterTlsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.msk.kotlin.inputs

import com.pulumi.awsnative.msk.inputs.ClusterTlsArgs.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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property certificateAuthorityArnList List of AWS Private CA Amazon Resource Name (ARN)s.
 * @property enabled TLS authentication is enabled or not.
 */
public data class ClusterTlsArgs(
    public val certificateAuthorityArnList: Output>? = null,
    public val enabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.msk.inputs.ClusterTlsArgs =
        com.pulumi.awsnative.msk.inputs.ClusterTlsArgs.builder()
            .certificateAuthorityArnList(
                certificateAuthorityArnList?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0
                    })
                }),
            )
            .enabled(enabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterTlsArgs].
 */
@PulumiTagMarker
public class ClusterTlsArgsBuilder internal constructor() {
    private var certificateAuthorityArnList: Output>? = null

    private var enabled: Output? = null

    /**
     * @param value List of AWS Private CA Amazon Resource Name (ARN)s.
     */
    @JvmName("ovgakpfmsfgtsisy")
    public suspend fun certificateAuthorityArnList(`value`: Output>) {
        this.certificateAuthorityArnList = value
    }

    @JvmName("uupbtbainnurrtpe")
    public suspend fun certificateAuthorityArnList(vararg values: Output) {
        this.certificateAuthorityArnList = Output.all(values.asList())
    }

    /**
     * @param values List of AWS Private CA Amazon Resource Name (ARN)s.
     */
    @JvmName("oyflyypkjbddscex")
    public suspend fun certificateAuthorityArnList(values: List>) {
        this.certificateAuthorityArnList = Output.all(values)
    }

    /**
     * @param value TLS authentication is enabled or not.
     */
    @JvmName("bcipkjwdkqwccmbl")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value List of AWS Private CA Amazon Resource Name (ARN)s.
     */
    @JvmName("dicynfydiyrcbqex")
    public suspend fun certificateAuthorityArnList(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateAuthorityArnList = mapped
    }

    /**
     * @param values List of AWS Private CA Amazon Resource Name (ARN)s.
     */
    @JvmName("kkuformkdeqcrlic")
    public suspend fun certificateAuthorityArnList(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.certificateAuthorityArnList = mapped
    }

    /**
     * @param value TLS authentication is enabled or not.
     */
    @JvmName("bxadmdkoemnpbilp")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

    internal fun build(): ClusterTlsArgs = ClusterTlsArgs(
        certificateAuthorityArnList = certificateAuthorityArnList,
        enabled = enabled,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy