com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValues.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property additionalExtensions Specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
* Structure is documented below.
* @property aiaOcspServers Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the
* "Authority Information Access" extension in the certificate.
* @property caOptions Describes values that are relevant in a CA certificate.
* Structure is documented below.
* @property keyUsage Indicates the intended use for keys that correspond to a certificate.
* Structure is documented below.
* @property nameConstraints Describes the X.509 name constraints extension.
* Structure is documented below.
* @property policyIds Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
* Structure is documented below.
*/
public data class CaPoolIssuancePolicyBaselineValues(
public val additionalExtensions: List? =
null,
public val aiaOcspServers: List? = null,
public val caOptions: CaPoolIssuancePolicyBaselineValuesCaOptions,
public val keyUsage: CaPoolIssuancePolicyBaselineValuesKeyUsage,
public val nameConstraints: CaPoolIssuancePolicyBaselineValuesNameConstraints? = null,
public val policyIds: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CaPoolIssuancePolicyBaselineValues): CaPoolIssuancePolicyBaselineValues = CaPoolIssuancePolicyBaselineValues(
additionalExtensions = javaType.additionalExtensions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesAdditionalExtension.Companion.toKotlin(args0)
})
}),
aiaOcspServers = javaType.aiaOcspServers().map({ args0 -> args0 }),
caOptions = javaType.caOptions().let({ args0 ->
com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesCaOptions.Companion.toKotlin(args0)
}),
keyUsage = javaType.keyUsage().let({ args0 ->
com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesKeyUsage.Companion.toKotlin(args0)
}),
nameConstraints = javaType.nameConstraints().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesNameConstraints.Companion.toKotlin(args0)
})
}).orElse(null),
policyIds = javaType.policyIds().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.certificateauthority.kotlin.outputs.CaPoolIssuancePolicyBaselineValuesPolicyId.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy