All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.kms.kotlin.outputs.CryptoKeyVersionExternalProtectionLevelOptions.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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