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

com.pulumi.awsnative.iot.kotlin.enums.CaCertificateCertificateMode.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iot.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The mode of the CA.
 * All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see [certificate mode](https://docs.aws.amazon.com//iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode) .
 * Valid values are "DEFAULT" and "SNI_ONLY".
 */
public enum class CaCertificateCertificateMode(
    public val javaValue: com.pulumi.awsnative.iot.enums.CaCertificateCertificateMode,
) : ConvertibleToJava {
    Default(com.pulumi.awsnative.iot.enums.CaCertificateCertificateMode.Default),
    SniOnly(com.pulumi.awsnative.iot.enums.CaCertificateCertificateMode.SniOnly),
    ;

    override fun toJava(): com.pulumi.awsnative.iot.enums.CaCertificateCertificateMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.enums.CaCertificateCertificateMode): CaCertificateCertificateMode =
            CaCertificateCertificateMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy