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

com.pulumi.gcp.spanner.kotlin.outputs.DatabaseEncryptionConfig.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.13.1.0
Show newest version
@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 DatabaseEncryptionConfig(
    public val kmsKeyName: String? = null,
    public val kmsKeyNames: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.spanner.outputs.DatabaseEncryptionConfig): DatabaseEncryptionConfig = DatabaseEncryptionConfig(
            kmsKeyName = javaType.kmsKeyName().map({ args0 -> args0 }).orElse(null),
            kmsKeyNames = javaType.kmsKeyNames().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy