All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamEncryptionConfigurationInput.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kinesisfirehose.kotlin.outputs

import com.pulumi.awsnative.kinesisfirehose.kotlin.enums.DeliveryStreamEncryptionConfigurationInputKeyType
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property keyArn If you set `KeyType` to `CUSTOMER_MANAGED_CMK` , you must specify the Amazon Resource Name (ARN) of the CMK. If you set `KeyType` to `AWS _OWNED_CMK` , Firehose uses a service-account CMK.
 * @property keyType Indicates the type of customer master key (CMK) to use for encryption. The default setting is `AWS_OWNED_CMK` . For more information about CMKs, see [Customer Master Keys (CMKs)](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#master_keys) .
 * You can use a CMK of type CUSTOMER_MANAGED_CMK to encrypt up to 500 delivery streams.
 * > To encrypt your delivery stream, use symmetric CMKs. Kinesis Data Firehose doesn't support asymmetric CMKs. For information about symmetric and asymmetric CMKs, see [About Symmetric and Asymmetric CMKs](https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-concepts.html) in the AWS Key Management Service developer guide.
 */
public data class DeliveryStreamEncryptionConfigurationInput(
    public val keyArn: String? = null,
    public val keyType: DeliveryStreamEncryptionConfigurationInputKeyType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisfirehose.outputs.DeliveryStreamEncryptionConfigurationInput): DeliveryStreamEncryptionConfigurationInput = DeliveryStreamEncryptionConfigurationInput(
            keyArn = javaType.keyArn().map({ args0 -> args0 }).orElse(null),
            keyType = javaType.keyType().let({ args0 ->
                com.pulumi.awsnative.kinesisfirehose.kotlin.enums.DeliveryStreamEncryptionConfigurationInputKeyType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy