
com.pulumi.awsnative.msk.kotlin.inputs.ClusterEncryptionAtRestArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.msk.kotlin.inputs
import com.pulumi.awsnative.msk.inputs.ClusterEncryptionAtRestArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property dataVolumeKmsKeyId The Amazon Resource Name (ARN) of the Amazon KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.
*/
public data class ClusterEncryptionAtRestArgs(
public val dataVolumeKmsKeyId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.msk.inputs.ClusterEncryptionAtRestArgs =
com.pulumi.awsnative.msk.inputs.ClusterEncryptionAtRestArgs.builder()
.dataVolumeKmsKeyId(dataVolumeKmsKeyId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterEncryptionAtRestArgs].
*/
@PulumiTagMarker
public class ClusterEncryptionAtRestArgsBuilder internal constructor() {
private var dataVolumeKmsKeyId: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the Amazon KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.
*/
@JvmName("uaixmapxvywumfyn")
public suspend fun dataVolumeKmsKeyId(`value`: Output) {
this.dataVolumeKmsKeyId = value
}
/**
* @param value The Amazon Resource Name (ARN) of the Amazon KMS key for encrypting data at rest. If you don't specify a KMS key, MSK creates one for you and uses it.
*/
@JvmName("xgjhwtxdauaigqap")
public suspend fun dataVolumeKmsKeyId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.dataVolumeKmsKeyId = mapped
}
internal fun build(): ClusterEncryptionAtRestArgs = ClusterEncryptionAtRestArgs(
dataVolumeKmsKeyId = dataVolumeKmsKeyId ?: throw PulumiNullFieldException("dataVolumeKmsKeyId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy