com.pulumi.gcp.notebooks.kotlin.inputs.RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs.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.notebooks.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.notebooks.inputs.RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property kmsKey The Cloud KMS resource identifier of the customer-managed
* encryption key used to protect a resource, such as a disks.
* It has the following format:
* `projects/{PROJECT_ID}/locations/{REGION}/keyRings/
* {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
*/
public data class RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs(
public val kmsKey: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.notebooks.inputs.RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs =
com.pulumi.gcp.notebooks.inputs.RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs.builder()
.kmsKey(kmsKey?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs].
*/
@PulumiTagMarker
public class RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgsBuilder internal constructor() {
private var kmsKey: Output? = null
/**
* @param value The Cloud KMS resource identifier of the customer-managed
* encryption key used to protect a resource, such as a disks.
* It has the following format:
* `projects/{PROJECT_ID}/locations/{REGION}/keyRings/
* {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
*/
@JvmName("qaaxnofojicrqecq")
public suspend fun kmsKey(`value`: Output) {
this.kmsKey = value
}
/**
* @param value The Cloud KMS resource identifier of the customer-managed
* encryption key used to protect a resource, such as a disks.
* It has the following format:
* `projects/{PROJECT_ID}/locations/{REGION}/keyRings/
* {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
*/
@JvmName("yvbagwbcqxebgaoa")
public suspend fun kmsKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKey = mapped
}
internal fun build(): RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs =
RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs(
kmsKey = kmsKey,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy