com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesCaOptions.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.
* @property nonCa When true, the "CA" in Basic Constraints extension will be set to false.
* If both `is_ca` and `non_ca` are unset, the extension will be omitted from the CA certificate.
* @property zeroMaxIssuerPathLength When true, the "path length constraint" in Basic Constraints extension will be set to 0.
* if both `max_issuer_path_length` and `zero_max_issuer_path_length` are unset,
* the max path length will be omitted from the CA certificate.
*/
public data class CaPoolIssuancePolicyBaselineValuesCaOptions(
public val isCa: Boolean? = null,
public val maxIssuerPathLength: Int? = null,
public val nonCa: Boolean? = null,
public val zeroMaxIssuerPathLength: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CaPoolIssuancePolicyBaselineValuesCaOptions): CaPoolIssuancePolicyBaselineValuesCaOptions = CaPoolIssuancePolicyBaselineValuesCaOptions(
isCa = javaType.isCa().map({ args0 -> args0 }).orElse(null),
maxIssuerPathLength = javaType.maxIssuerPathLength().map({ args0 -> args0 }).orElse(null),
nonCa = javaType.nonCa().map({ args0 -> args0 }).orElse(null),
zeroMaxIssuerPathLength = javaType.zeroMaxIssuerPathLength().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy