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

com.pulumi.awsnative.acmpca.kotlin.CertificateAuthorityActivationArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.acmpca.kotlin

import com.pulumi.awsnative.acmpca.CertificateAuthorityActivationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Used to install the certificate authority certificate and update the certificate authority status.
 * @property certificate Certificate Authority certificate that will be installed in the Certificate Authority.
 * @property certificateAuthorityArn Arn of the Certificate Authority.
 * @property certificateChain Certificate chain for the Certificate Authority certificate.
 * @property status The status of the Certificate Authority.
 */
public data class CertificateAuthorityActivationArgs(
    public val certificate: Output? = null,
    public val certificateAuthorityArn: Output? = null,
    public val certificateChain: Output? = null,
    public val status: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.acmpca.CertificateAuthorityActivationArgs =
        com.pulumi.awsnative.acmpca.CertificateAuthorityActivationArgs.builder()
            .certificate(certificate?.applyValue({ args0 -> args0 }))
            .certificateAuthorityArn(certificateAuthorityArn?.applyValue({ args0 -> args0 }))
            .certificateChain(certificateChain?.applyValue({ args0 -> args0 }))
            .status(status?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CertificateAuthorityActivationArgs].
 */
@PulumiTagMarker
public class CertificateAuthorityActivationArgsBuilder internal constructor() {
    private var certificate: Output? = null

    private var certificateAuthorityArn: Output? = null

    private var certificateChain: Output? = null

    private var status: Output? = null

    /**
     * @param value Certificate Authority certificate that will be installed in the Certificate Authority.
     */
    @JvmName("arncsvuinmynqbxw")
    public suspend fun certificate(`value`: Output) {
        this.certificate = value
    }

    /**
     * @param value Arn of the Certificate Authority.
     */
    @JvmName("jaetutewggwaatys")
    public suspend fun certificateAuthorityArn(`value`: Output) {
        this.certificateAuthorityArn = value
    }

    /**
     * @param value Certificate chain for the Certificate Authority certificate.
     */
    @JvmName("udydipuhmxxnhqlw")
    public suspend fun certificateChain(`value`: Output) {
        this.certificateChain = value
    }

    /**
     * @param value The status of the Certificate Authority.
     */
    @JvmName("nwngkjsofuvnqwnl")
    public suspend fun status(`value`: Output) {
        this.status = value
    }

    /**
     * @param value Certificate Authority certificate that will be installed in the Certificate Authority.
     */
    @JvmName("ixeayvhwmogddpbe")
    public suspend fun certificate(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificate = mapped
    }

    /**
     * @param value Arn of the Certificate Authority.
     */
    @JvmName("pqsqjshlksppeggd")
    public suspend fun certificateAuthorityArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateAuthorityArn = mapped
    }

    /**
     * @param value Certificate chain for the Certificate Authority certificate.
     */
    @JvmName("yqillgteiuuxooyk")
    public suspend fun certificateChain(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.certificateChain = mapped
    }

    /**
     * @param value The status of the Certificate Authority.
     */
    @JvmName("idqxgjeghvswhhxj")
    public suspend fun status(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.status = mapped
    }

    internal fun build(): CertificateAuthorityActivationArgs = CertificateAuthorityActivationArgs(
        certificate = certificate,
        certificateAuthorityArn = certificateAuthorityArn,
        certificateChain = certificateChain,
        status = status,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy