com.pulumi.awsnative.iot.kotlin.enums.CaCertificateCertificateMode.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.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 }
}
}