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

com.pulumi.awsnative.acmpca.kotlin.outputs.CertificateApiPassthrough.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.acmpca.kotlin.outputs

import kotlin.Suppress

/**
 * Contains X.509 certificate information to be placed in an issued certificate. An ``APIPassthrough`` or ``APICSRPassthrough`` template variant must be selected, or else this parameter is ignored.
 *  If conflicting or duplicate certificate information is supplied from other sources, AWS Private CA applies [order of operation rules](https://docs.aws.amazon.com/privateca/latest/userguide/UsingTemplates.html#template-order-of-operations) to determine what information is used.
 * @property extensions Specifies X.509 extension information for a certificate.
 * @property subject Contains information about the certificate subject. The Subject field in the certificate identifies the entity that owns or controls the public key in the certificate. The entity can be a user, computer, device, or service. The Subject must contain an X.500 distinguished name (DN). A DN is a sequence of relative distinguished names (RDNs). The RDNs are separated by commas in the certificate.
 */
public data class CertificateApiPassthrough(
    public val extensions: CertificateExtensions? = null,
    public val subject: CertificateSubject? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.acmpca.outputs.CertificateApiPassthrough): CertificateApiPassthrough = CertificateApiPassthrough(
            extensions = javaType.extensions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.acmpca.kotlin.outputs.CertificateExtensions.Companion.toKotlin(args0)
                })
            }).orElse(null),
            subject = javaType.subject().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.acmpca.kotlin.outputs.CertificateSubject.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy