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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateConfigSubjectConfig.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Suppress

/**
 *
 * @property subject Contains distinguished name fields such as the location and organization.
 * Structure is documented below.
 * @property subjectAltName The subject alternative name fields.
 * Structure is documented below.
 */
public data class CertificateConfigSubjectConfig(
    public val subject: CertificateConfigSubjectConfigSubject,
    public val subjectAltName: CertificateConfigSubjectConfigSubjectAltName? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateConfigSubjectConfig): CertificateConfigSubjectConfig = CertificateConfigSubjectConfig(
            subject = javaType.subject().let({ args0 ->
                com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateConfigSubjectConfigSubject.Companion.toKotlin(args0)
            }),
            subjectAltName = javaType.subjectAltName().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateConfigSubjectConfigSubjectAltName.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy