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