com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionCaOption.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.certificateauthority.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property isCa When true, the "CA" in Basic Constraints extension will be set to true.
* @property maxIssuerPathLength Refers to the "path length constraint" in Basic Constraints extension. For a CA certificate, this value describes the depth of
* subordinate CA certificates that are allowed. If this value is less than 0, the request will fail.
*/
public data class CertificateCertificateDescriptionX509DescriptionCaOption(
public val isCa: Boolean? = null,
public val maxIssuerPathLength: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateCertificateDescriptionX509DescriptionCaOption): CertificateCertificateDescriptionX509DescriptionCaOption =
CertificateCertificateDescriptionX509DescriptionCaOption(
isCa = javaType.isCa().map({ args0 -> args0 }).orElse(null),
maxIssuerPathLength = javaType.maxIssuerPathLength().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy