All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509Description.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificateauthority.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property additionalExtensions (Output)
 * Describes custom X.509 extensions.
 * Structure is documented below.
 * @property aiaOcspServers (Output)
 * Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the
 * "Authority Information Access" extension in the certificate.
 * @property caOptions (Output)
 * Describes values that are relevant in a CA certificate.
 * Structure is documented below.
 * @property keyUsages (Output)
 * Indicates the intended use for keys that correspond to a certificate.
 * Structure is documented below.
 * @property nameConstraints (Output)
 * Describes the X.509 name constraints extension.
 * Structure is documented below.
 * @property policyIds (Output)
 * 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 CertificateCertificateDescriptionX509Description(
    public val additionalExtensions: List? = null,
    public val aiaOcspServers: List? = null,
    public val caOptions: List? = null,
    public val keyUsages: List? = null,
    public val nameConstraints: List? =
        null,
    public val policyIds: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateCertificateDescriptionX509Description): CertificateCertificateDescriptionX509Description =
            CertificateCertificateDescriptionX509Description(
                additionalExtensions = javaType.additionalExtensions().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionAdditionalExtension.Companion.toKotlin(args0)
                    })
                }),
                aiaOcspServers = javaType.aiaOcspServers().map({ args0 -> args0 }),
                caOptions = javaType.caOptions().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionCaOption.Companion.toKotlin(args0)
                    })
                }),
                keyUsages = javaType.keyUsages().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionKeyUsage.Companion.toKotlin(args0)
                    })
                }),
                nameConstraints = javaType.nameConstraints().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionNameConstraint.Companion.toKotlin(args0)
                    })
                }),
                policyIds = javaType.policyIds().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionX509DescriptionPolicyId.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy