com.pulumi.gcp.certificateauthority.kotlin.inputs.CertificateConfigX509ConfigArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 keyUsage (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 CertificateConfigX509ConfigArgs(
public val additionalExtensions: Output>? =
null,
public val aiaOcspServers: Output>? = null,
public val caOptions: Output? = null,
public val keyUsage: Output,
public val nameConstraints: Output? = null,
public val policyIds: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigArgs = com.pulumi.gcp.certificateauthority.inputs.CertificateConfigX509ConfigArgs.builder()
.additionalExtensions(
additionalExtensions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.aiaOcspServers(aiaOcspServers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.caOptions(caOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.keyUsage(keyUsage.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.nameConstraints(nameConstraints?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.policyIds(
policyIds?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [CertificateConfigX509ConfigArgs].
*/
@PulumiTagMarker
public class CertificateConfigX509ConfigArgsBuilder internal constructor() {
private var additionalExtensions:
Output>? = null
private var aiaOcspServers: Output>? = null
private var caOptions: Output? = null
private var keyUsage: Output? = null
private var nameConstraints: Output? = null
private var policyIds: Output>? = null
/**
* @param value (Output)
* Describes custom X.509 extensions.
* Structure is documented below.
*/
@JvmName("txcrrtuwxfgqcjtp")
public suspend fun additionalExtensions(`value`: Output>) {
this.additionalExtensions = value
}
@JvmName("eiapkmsytdqgckup")
public suspend fun additionalExtensions(vararg values: Output) {
this.additionalExtensions = Output.all(values.asList())
}
/**
* @param values (Output)
* Describes custom X.509 extensions.
* Structure is documented below.
*/
@JvmName("mbdxyihegwksaojg")
public suspend fun additionalExtensions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy