com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplatePrivateKeyAttributesV3.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.pcaconnectorad.kotlin.outputs
import com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplateKeySpec
import com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplatePrivateKeyAlgorithm
import com.pulumi.core.Either
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property algorithm
* @property cryptoProviders
* @property keySpec
* @property keyUsageProperty
* @property minimalKeyLength
*/
public data class TemplatePrivateKeyAttributesV3(
public val algorithm: TemplatePrivateKeyAlgorithm,
public val cryptoProviders: List? = null,
public val keySpec: TemplateKeySpec,
public val keyUsageProperty: Either,
public val minimalKeyLength: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pcaconnectorad.outputs.TemplatePrivateKeyAttributesV3): TemplatePrivateKeyAttributesV3 = TemplatePrivateKeyAttributesV3(
algorithm = javaType.algorithm().let({ args0 ->
com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplatePrivateKeyAlgorithm.Companion.toKotlin(args0)
}),
cryptoProviders = javaType.cryptoProviders().map({ args0 -> args0 }),
keySpec = javaType.keySpec().let({ args0 ->
com.pulumi.awsnative.pcaconnectorad.kotlin.enums.TemplateKeySpec.Companion.toKotlin(args0)
}),
keyUsageProperty = javaType.keyUsageProperty().transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateKeyUsageProperty0Properties.Companion.toKotlin(args0)
})
},
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pcaconnectorad.kotlin.outputs.TemplateKeyUsageProperty1Properties.Companion.toKotlin(args0)
})
},
),
minimalKeyLength = javaType.minimalKeyLength(),
)
}
}