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

com.pulumi.cloudflare.kotlin.inputs.CustomHostnameSslSettingArgs.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: 5.49.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.CustomHostnameSslSettingArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property ciphers List of SSL/TLS ciphers to associate with this certificate.
 * @property earlyHints Whether early hints should be supported. Available values: `on`, `off`.
 * @property http2 Whether HTTP2 should be supported. Available values: `on`, `off`.
 * @property minTlsVersion Lowest version of TLS this certificate should support. Available values: `1.0`, `1.1`, `1.2`, `1.3`.
 * @property tls13 Whether TLSv1.3 should be supported. Available values: `on`, `off`.
 */
public data class CustomHostnameSslSettingArgs(
    public val ciphers: Output>? = null,
    public val earlyHints: Output? = null,
    public val http2: Output? = null,
    public val minTlsVersion: Output? = null,
    public val tls13: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.CustomHostnameSslSettingArgs =
        com.pulumi.cloudflare.inputs.CustomHostnameSslSettingArgs.builder()
            .ciphers(ciphers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .earlyHints(earlyHints?.applyValue({ args0 -> args0 }))
            .http2(http2?.applyValue({ args0 -> args0 }))
            .minTlsVersion(minTlsVersion?.applyValue({ args0 -> args0 }))
            .tls13(tls13?.applyValue({ args0 -> args0 })).build()
}

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

    private var earlyHints: Output? = null

    private var http2: Output? = null

    private var minTlsVersion: Output? = null

    private var tls13: Output? = null

    /**
     * @param value List of SSL/TLS ciphers to associate with this certificate.
     */
    @JvmName("odkojxbbewdnfpoq")
    public suspend fun ciphers(`value`: Output>) {
        this.ciphers = value
    }

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

    /**
     * @param values List of SSL/TLS ciphers to associate with this certificate.
     */
    @JvmName("idxpooeyettxeoib")
    public suspend fun ciphers(values: List>) {
        this.ciphers = Output.all(values)
    }

    /**
     * @param value Whether early hints should be supported. Available values: `on`, `off`.
     */
    @JvmName("tjfctgndexbsencj")
    public suspend fun earlyHints(`value`: Output) {
        this.earlyHints = value
    }

    /**
     * @param value Whether HTTP2 should be supported. Available values: `on`, `off`.
     */
    @JvmName("bftabkdxmdaowsgt")
    public suspend fun http2(`value`: Output) {
        this.http2 = value
    }

    /**
     * @param value Lowest version of TLS this certificate should support. Available values: `1.0`, `1.1`, `1.2`, `1.3`.
     */
    @JvmName("rxgomttiurnnrltf")
    public suspend fun minTlsVersion(`value`: Output) {
        this.minTlsVersion = value
    }

    /**
     * @param value Whether TLSv1.3 should be supported. Available values: `on`, `off`.
     */
    @JvmName("onosdcmsxhqnneqy")
    public suspend fun tls13(`value`: Output) {
        this.tls13 = value
    }

    /**
     * @param value List of SSL/TLS ciphers to associate with this certificate.
     */
    @JvmName("unjpbodmcjabgkvx")
    public suspend fun ciphers(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ciphers = mapped
    }

    /**
     * @param values List of SSL/TLS ciphers to associate with this certificate.
     */
    @JvmName("sfbaqalabwjkmrku")
    public suspend fun ciphers(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ciphers = mapped
    }

    /**
     * @param value Whether early hints should be supported. Available values: `on`, `off`.
     */
    @JvmName("efyxxqvkmbkekctm")
    public suspend fun earlyHints(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.earlyHints = mapped
    }

    /**
     * @param value Whether HTTP2 should be supported. Available values: `on`, `off`.
     */
    @JvmName("dhspktxcaocwhalg")
    public suspend fun http2(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.http2 = mapped
    }

    /**
     * @param value Lowest version of TLS this certificate should support. Available values: `1.0`, `1.1`, `1.2`, `1.3`.
     */
    @JvmName("kyybsrxxfitfsipj")
    public suspend fun minTlsVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minTlsVersion = mapped
    }

    /**
     * @param value Whether TLSv1.3 should be supported. Available values: `on`, `off`.
     */
    @JvmName("awbdmdagxbvmiurb")
    public suspend fun tls13(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tls13 = mapped
    }

    internal fun build(): CustomHostnameSslSettingArgs = CustomHostnameSslSettingArgs(
        ciphers = ciphers,
        earlyHints = earlyHints,
        http2 = http2,
        minTlsVersion = minTlsVersion,
        tls13 = tls13,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy