com.pulumi.gcp.looker.kotlin.inputs.InstanceEncryptionConfigArgs.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.looker.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.looker.inputs.InstanceEncryptionConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property kmsKeyName Name of the customer managed encryption key (CMEK) in KMS.
* @property kmsKeyNameVersion (Output)
* Full name and version of the CMEK key currently in use to encrypt Looker data.
* @property kmsKeyState (Output)
* Status of the customer managed encryption key (CMEK) in KMS.
*/
public data class InstanceEncryptionConfigArgs(
public val kmsKeyName: Output? = null,
public val kmsKeyNameVersion: Output? = null,
public val kmsKeyState: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.looker.inputs.InstanceEncryptionConfigArgs =
com.pulumi.gcp.looker.inputs.InstanceEncryptionConfigArgs.builder()
.kmsKeyName(kmsKeyName?.applyValue({ args0 -> args0 }))
.kmsKeyNameVersion(kmsKeyNameVersion?.applyValue({ args0 -> args0 }))
.kmsKeyState(kmsKeyState?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InstanceEncryptionConfigArgs].
*/
@PulumiTagMarker
public class InstanceEncryptionConfigArgsBuilder internal constructor() {
private var kmsKeyName: Output? = null
private var kmsKeyNameVersion: Output? = null
private var kmsKeyState: Output? = null
/**
* @param value Name of the customer managed encryption key (CMEK) in KMS.
*/
@JvmName("wfajkqflygkqjrga")
public suspend fun kmsKeyName(`value`: Output) {
this.kmsKeyName = value
}
/**
* @param value (Output)
* Full name and version of the CMEK key currently in use to encrypt Looker data.
*/
@JvmName("succxuuvnbpqfnjk")
public suspend fun kmsKeyNameVersion(`value`: Output) {
this.kmsKeyNameVersion = value
}
/**
* @param value (Output)
* Status of the customer managed encryption key (CMEK) in KMS.
*/
@JvmName("mkmxqlojkeiwplbn")
public suspend fun kmsKeyState(`value`: Output) {
this.kmsKeyState = value
}
/**
* @param value Name of the customer managed encryption key (CMEK) in KMS.
*/
@JvmName("ndhnbudqoijiqdnx")
public suspend fun kmsKeyName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyName = mapped
}
/**
* @param value (Output)
* Full name and version of the CMEK key currently in use to encrypt Looker data.
*/
@JvmName("myepibjeqvmlbneg")
public suspend fun kmsKeyNameVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyNameVersion = mapped
}
/**
* @param value (Output)
* Status of the customer managed encryption key (CMEK) in KMS.
*/
@JvmName("woemnkoitnrxaxnf")
public suspend fun kmsKeyState(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsKeyState = mapped
}
internal fun build(): InstanceEncryptionConfigArgs = InstanceEncryptionConfigArgs(
kmsKeyName = kmsKeyName,
kmsKeyNameVersion = kmsKeyNameVersion,
kmsKeyState = kmsKeyState,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy