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

com.pulumi.gcp.bigquery.kotlin.outputs.TableEncryptionConfiguration.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.bigquery.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property kmsKeyName The self link or full name of a key which should be used to
 * encrypt this table.  Note that the default bigquery service account will need to have
 * encrypt/decrypt permissions on this key - you may want to see the
 * `gcp.bigquery.getDefaultServiceAccount` datasource and the
 * `gcp.kms.CryptoKeyIAMBinding` resource.
 * @property kmsKeyVersion The self link or full name of the kms key version used to encrypt this table.
 */
public data class TableEncryptionConfiguration(
    public val kmsKeyName: String,
    public val kmsKeyVersion: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.TableEncryptionConfiguration): TableEncryptionConfiguration = TableEncryptionConfiguration(
            kmsKeyName = javaType.kmsKeyName(),
            kmsKeyVersion = javaType.kmsKeyVersion().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy