![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.acmpca.kotlin.outputs.CertificateExtendedKeyUsage.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.acmpca.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* 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 CertificateExtendedKeyUsage(
public val extendedKeyUsageObjectIdentifier: String? = null,
public val extendedKeyUsageType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.acmpca.outputs.CertificateExtendedKeyUsage): CertificateExtendedKeyUsage = CertificateExtendedKeyUsage(
extendedKeyUsageObjectIdentifier = javaType.extendedKeyUsageObjectIdentifier().map({ args0 ->
args0
}).orElse(null),
extendedKeyUsageType = javaType.extendedKeyUsageType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy