
com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamEncryptionConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs
import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamEncryptionConfigurationArgs.builder
import com.pulumi.awsnative.kinesisfirehose.kotlin.enums.DeliveryStreamEncryptionConfigurationNoEncryptionConfig
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property kmsEncryptionConfig The AWS Key Management Service ( AWS KMS) encryption key that Amazon S3 uses to encrypt your data.
* @property noEncryptionConfig Disables encryption. For valid values, see the `NoEncryptionConfig` content for the [EncryptionConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_EncryptionConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference* .
*/
public data class DeliveryStreamEncryptionConfigurationArgs(
public val kmsEncryptionConfig: Output? = null,
public val noEncryptionConfig: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamEncryptionConfigurationArgs =
com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamEncryptionConfigurationArgs.builder()
.kmsEncryptionConfig(
kmsEncryptionConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.noEncryptionConfig(
noEncryptionConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DeliveryStreamEncryptionConfigurationArgs].
*/
@PulumiTagMarker
public class DeliveryStreamEncryptionConfigurationArgsBuilder internal constructor() {
private var kmsEncryptionConfig: Output? = null
private var noEncryptionConfig: Output? =
null
/**
* @param value The AWS Key Management Service ( AWS KMS) encryption key that Amazon S3 uses to encrypt your data.
*/
@JvmName("wnmugixdeyaavtaw")
public suspend fun kmsEncryptionConfig(`value`: Output) {
this.kmsEncryptionConfig = value
}
/**
* @param value Disables encryption. For valid values, see the `NoEncryptionConfig` content for the [EncryptionConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_EncryptionConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference* .
*/
@JvmName("oqblslbtpcqpdeol")
public suspend fun noEncryptionConfig(`value`: Output) {
this.noEncryptionConfig = value
}
/**
* @param value The AWS Key Management Service ( AWS KMS) encryption key that Amazon S3 uses to encrypt your data.
*/
@JvmName("lywlutdubamoouxw")
public suspend fun kmsEncryptionConfig(`value`: DeliveryStreamKmsEncryptionConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.kmsEncryptionConfig = mapped
}
/**
* @param argument The AWS Key Management Service ( AWS KMS) encryption key that Amazon S3 uses to encrypt your data.
*/
@JvmName("kypyhitgqvxgnnkt")
public suspend fun kmsEncryptionConfig(argument: suspend DeliveryStreamKmsEncryptionConfigArgsBuilder.() -> Unit) {
val toBeMapped = DeliveryStreamKmsEncryptionConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.kmsEncryptionConfig = mapped
}
/**
* @param value Disables encryption. For valid values, see the `NoEncryptionConfig` content for the [EncryptionConfiguration](https://docs.aws.amazon.com/firehose/latest/APIReference/API_EncryptionConfiguration.html) data type in the *Amazon Kinesis Data Firehose API Reference* .
*/
@JvmName("nmgolmbgrheqbdvf")
public suspend fun noEncryptionConfig(`value`: DeliveryStreamEncryptionConfigurationNoEncryptionConfig?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.noEncryptionConfig = mapped
}
internal fun build(): DeliveryStreamEncryptionConfigurationArgs =
DeliveryStreamEncryptionConfigurationArgs(
kmsEncryptionConfig = kmsEncryptionConfig,
noEncryptionConfig = noEncryptionConfig,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy