
com.pulumi.awsnative.acmpca.kotlin.inputs.CertificateExtendedKeyUsageArgs.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.CertificateExtendedKeyUsageArgs.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
/**
* Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the ``KeyUsage`` extension.
* @property extendedKeyUsageObjectIdentifier Specifies a custom ``ExtendedKeyUsage`` with an object identifier (OID).
* @property extendedKeyUsageType Specifies a standard ``ExtendedKeyUsage`` as defined as in [RFC 5280](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12).
*/
public data class CertificateExtendedKeyUsageArgs(
public val extendedKeyUsageObjectIdentifier: Output? = null,
public val extendedKeyUsageType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.acmpca.inputs.CertificateExtendedKeyUsageArgs =
com.pulumi.awsnative.acmpca.inputs.CertificateExtendedKeyUsageArgs.builder()
.extendedKeyUsageObjectIdentifier(extendedKeyUsageObjectIdentifier?.applyValue({ args0 -> args0 }))
.extendedKeyUsageType(extendedKeyUsageType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [CertificateExtendedKeyUsageArgs].
*/
@PulumiTagMarker
public class CertificateExtendedKeyUsageArgsBuilder internal constructor() {
private var extendedKeyUsageObjectIdentifier: Output? = null
private var extendedKeyUsageType: Output? = null
/**
* @param value Specifies a custom ``ExtendedKeyUsage`` with an object identifier (OID).
*/
@JvmName("haeletnqqgltnmod")
public suspend fun extendedKeyUsageObjectIdentifier(`value`: Output) {
this.extendedKeyUsageObjectIdentifier = value
}
/**
* @param value Specifies a standard ``ExtendedKeyUsage`` as defined as in [RFC 5280](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12).
*/
@JvmName("pvycdgjrocrnfqtp")
public suspend fun extendedKeyUsageType(`value`: Output) {
this.extendedKeyUsageType = value
}
/**
* @param value Specifies a custom ``ExtendedKeyUsage`` with an object identifier (OID).
*/
@JvmName("urbnkcqgqfhcxsnt")
public suspend fun extendedKeyUsageObjectIdentifier(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.extendedKeyUsageObjectIdentifier = mapped
}
/**
* @param value Specifies a standard ``ExtendedKeyUsage`` as defined as in [RFC 5280](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12).
*/
@JvmName("aimlmyqlfgyxiehb")
public suspend fun extendedKeyUsageType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.extendedKeyUsageType = mapped
}
internal fun build(): CertificateExtendedKeyUsageArgs = CertificateExtendedKeyUsageArgs(
extendedKeyUsageObjectIdentifier = extendedKeyUsageObjectIdentifier,
extendedKeyUsageType = extendedKeyUsageType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy