
com.pulumi.awsnative.acmpca.kotlin.inputs.CertificateAuthorityCsrExtensionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.acmpca.kotlin.inputs
import com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityCsrExtensionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Structure that contains CSR pass though extensions information.
* @property keyUsage Indicates the purpose of the certificate and of the key contained in the certificate.
* @property subjectInformationAccess For CA certificates, provides a path to additional information pertaining to the CA, such as revocation and policy. For more information, see [Subject Information Access](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.2.2) in RFC 5280.
*/
public data class CertificateAuthorityCsrExtensionsArgs(
public val keyUsage: Output? = null,
public val subjectInformationAccess: Output>? =
null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityCsrExtensionsArgs =
com.pulumi.awsnative.acmpca.inputs.CertificateAuthorityCsrExtensionsArgs.builder()
.keyUsage(keyUsage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.subjectInformationAccess(
subjectInformationAccess?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [CertificateAuthorityCsrExtensionsArgs].
*/
@PulumiTagMarker
public class CertificateAuthorityCsrExtensionsArgsBuilder internal constructor() {
private var keyUsage: Output? = null
private var subjectInformationAccess: Output>? =
null
/**
* @param value Indicates the purpose of the certificate and of the key contained in the certificate.
*/
@JvmName("rqpjwyxrsivrsdli")
public suspend fun keyUsage(`value`: Output) {
this.keyUsage = value
}
/**
* @param value For CA certificates, provides a path to additional information pertaining to the CA, such as revocation and policy. For more information, see [Subject Information Access](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.2.2) in RFC 5280.
*/
@JvmName("wuswbkxbmxjakkss")
public suspend fun subjectInformationAccess(`value`: Output>) {
this.subjectInformationAccess = value
}
@JvmName("mvdcmrtjypdrgiml")
public suspend fun subjectInformationAccess(vararg values: Output) {
this.subjectInformationAccess = Output.all(values.asList())
}
/**
* @param values For CA certificates, provides a path to additional information pertaining to the CA, such as revocation and policy. For more information, see [Subject Information Access](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.2.2) in RFC 5280.
*/
@JvmName("xtkqufcyrdmjbgss")
public suspend fun subjectInformationAccess(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy