
com.pulumi.gcp.spanner.kotlin.outputs.GetDatabaseEncryptionConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.spanner.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 GetDatabaseEncryptionConfig(
public val kmsKeyName: String,
public val kmsKeyNames: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.spanner.outputs.GetDatabaseEncryptionConfig): GetDatabaseEncryptionConfig = GetDatabaseEncryptionConfig(
kmsKeyName = javaType.kmsKeyName(),
kmsKeyNames = javaType.kmsKeyNames().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy