
com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamKmsEncryptionConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs
import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamKmsEncryptionConfigArgs.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 awskmsKeyArn The Amazon Resource Name (ARN) of the AWS KMS encryption key that Amazon S3 uses to encrypt data delivered by the Kinesis Data Firehose stream. The key must belong to the same region as the destination S3 bucket.
*/
public data class DeliveryStreamKmsEncryptionConfigArgs(
public val awskmsKeyArn: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamKmsEncryptionConfigArgs =
com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamKmsEncryptionConfigArgs.builder()
.awskmsKeyArn(awskmsKeyArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeliveryStreamKmsEncryptionConfigArgs].
*/
@PulumiTagMarker
public class DeliveryStreamKmsEncryptionConfigArgsBuilder internal constructor() {
private var awskmsKeyArn: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the AWS KMS encryption key that Amazon S3 uses to encrypt data delivered by the Kinesis Data Firehose stream. The key must belong to the same region as the destination S3 bucket.
*/
@JvmName("twtpsmlldivgspcr")
public suspend fun awskmsKeyArn(`value`: Output) {
this.awskmsKeyArn = value
}
/**
* @param value The Amazon Resource Name (ARN) of the AWS KMS encryption key that Amazon S3 uses to encrypt data delivered by the Kinesis Data Firehose stream. The key must belong to the same region as the destination S3 bucket.
*/
@JvmName("jbwntrmntgfdsxlc")
public suspend fun awskmsKeyArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.awskmsKeyArn = mapped
}
internal fun build(): DeliveryStreamKmsEncryptionConfigArgs =
DeliveryStreamKmsEncryptionConfigArgs(
awskmsKeyArn = awskmsKeyArn ?: throw PulumiNullFieldException("awskmsKeyArn"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy