com.pulumi.gcp.spanner.kotlin.inputs.DatabaseEncryptionConfigArgs.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.spanner.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.spanner.inputs.DatabaseEncryptionConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property kmsKeyName Fully qualified name of the KMS key to use to encrypt this database. This key must exist
* in the same location as the Spanner Database.
* @property kmsKeyNames Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist
* in the same locations as the Spanner Database.
*/
public data class DatabaseEncryptionConfigArgs(
public val kmsKeyName: Output? = null,
public val kmsKeyNames: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.spanner.inputs.DatabaseEncryptionConfigArgs =
com.pulumi.gcp.spanner.inputs.DatabaseEncryptionConfigArgs.builder()
.kmsKeyName(kmsKeyName?.applyValue({ args0 -> args0 }))
.kmsKeyNames(kmsKeyNames?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DatabaseEncryptionConfigArgs].
*/
@PulumiTagMarker
public class DatabaseEncryptionConfigArgsBuilder internal constructor() {
private var kmsKeyName: Output? = null
private var kmsKeyNames: Output>? = null
/**
* @param value Fully qualified name of the KMS key to use to encrypt this database. This key must exist
* in the same location as the Spanner Database.
*/
@JvmName("sqqtidlxpkkvxgjb")
public suspend fun kmsKeyName(`value`: Output) {
this.kmsKeyName = value
}
/**
* @param value Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist
* in the same locations as the Spanner Database.
*/
@JvmName("brrwoxiepcrmlrdy")
public suspend fun kmsKeyNames(`value`: Output>) {
this.kmsKeyNames = value
}
@JvmName("haoyexcexadfikht")
public suspend fun kmsKeyNames(vararg values: Output) {
this.kmsKeyNames = Output.all(values.asList())
}
/**
* @param values Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist
* in the same locations as the Spanner Database.
*/
@JvmName("bmgtflpsgttdijxg")
public suspend fun kmsKeyNames(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy