
com.pulumi.awsnative.osis.kotlin.inputs.PipelineEncryptionAtRestOptionsArgs.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.osis.kotlin.inputs
import com.pulumi.awsnative.osis.inputs.PipelineEncryptionAtRestOptionsArgs.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
/**
* Key-value pairs to configure encryption at rest.
* @property kmsKeyArn The KMS key to use for encrypting data. By default an AWS owned key is used
*/
public data class PipelineEncryptionAtRestOptionsArgs(
public val kmsKeyArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.osis.inputs.PipelineEncryptionAtRestOptionsArgs =
com.pulumi.awsnative.osis.inputs.PipelineEncryptionAtRestOptionsArgs.builder()
.kmsKeyArn(kmsKeyArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipelineEncryptionAtRestOptionsArgs].
*/
@PulumiTagMarker
public class PipelineEncryptionAtRestOptionsArgsBuilder internal constructor() {
private var kmsKeyArn: Output? = null
/**
* @param value The KMS key to use for encrypting data. By default an AWS owned key is used
*/
@JvmName("ptnfvfrttrqctojm")
public suspend fun kmsKeyArn(`value`: Output) {
this.kmsKeyArn = value
}
/**
* @param value The KMS key to use for encrypting data. By default an AWS owned key is used
*/
@JvmName("ntrofyyumtwtmywo")
public suspend fun kmsKeyArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.kmsKeyArn = mapped
}
internal fun build(): PipelineEncryptionAtRestOptionsArgs = PipelineEncryptionAtRestOptionsArgs(
kmsKeyArn = kmsKeyArn ?: throw PulumiNullFieldException("kmsKeyArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy