com.pulumi.gcp.kms.kotlin.outputs.CryptoKeyVersionExternalProtectionLevelOptions.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.kms.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property ekmConnectionKeyPath The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of externalKeyUri when using an EkmConnection.
* @property externalKeyUri The URI for an external resource that this CryptoKeyVersion represents.
*/
public data class CryptoKeyVersionExternalProtectionLevelOptions(
public val ekmConnectionKeyPath: String? = null,
public val externalKeyUri: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.CryptoKeyVersionExternalProtectionLevelOptions): CryptoKeyVersionExternalProtectionLevelOptions =
CryptoKeyVersionExternalProtectionLevelOptions(
ekmConnectionKeyPath = javaType.ekmConnectionKeyPath().map({ args0 -> args0 }).orElse(null),
externalKeyUri = javaType.externalKeyUri().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy