com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolPublishingOptions.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.String
import kotlin.Suppress
/**
*
* @property encodingFormat Specifies the encoding format of each CertificateAuthority's CA
* certificate and CRLs. If this is omitted, CA certificates and CRLs
* will be published in PEM.
* Possible values are: `PEM`, `DER`.
* @property publishCaCert When true, publishes each CertificateAuthority's CA certificate and includes its URL in the "Authority Information Access"
* X.509 extension in all issued Certificates. If this is false, the CA certificate will not be published and the corresponding
* X.509 extension will not be written in issued certificates.
* @property publishCrl When true, publishes each CertificateAuthority's CRL and includes its URL in the "CRL Distribution Points" X.509 extension
* in all issued Certificates. If this is false, CRLs will not be published and the corresponding X.509 extension will not
* be written in issued certificates. CRLs will expire 7 days from their creation. However, we will rebuild daily. CRLs are
* also rebuilt shortly after a certificate is revoked.
*/
public data class CaPoolPublishingOptions(
public val encodingFormat: String? = null,
public val publishCaCert: Boolean,
public val publishCrl: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CaPoolPublishingOptions): CaPoolPublishingOptions = CaPoolPublishingOptions(
encodingFormat = javaType.encodingFormat().map({ args0 -> args0 }).orElse(null),
publishCaCert = javaType.publishCaCert(),
publishCrl = javaType.publishCrl(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy