![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.kinesis.kotlin.outputs.StreamEncryption.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesis.kotlin.outputs
import com.pulumi.awsnative.kinesis.kotlin.enums.StreamEncryptionEncryptionType
import kotlin.String
import kotlin.Suppress
/**
* When specified, enables or updates server-side encryption using an AWS KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.
* @property encryptionType The encryption type to use. The only valid value is KMS.
* @property keyId The GUID for the customer-managed AWS KMS key to use for encryption. This value can be a globally unique identifier, a fully specified Amazon Resource Name (ARN) to either an alias or a key, or an alias name prefixed by "alias/".You can also use a master key owned by Kinesis Data Streams by specifying the alias aws/kinesis.
*/
public data class StreamEncryption(
public val encryptionType: StreamEncryptionEncryptionType,
public val keyId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kinesis.outputs.StreamEncryption): StreamEncryption = StreamEncryption(
encryptionType = javaType.encryptionType().let({ args0 ->
com.pulumi.awsnative.kinesis.kotlin.enums.StreamEncryptionEncryptionType.Companion.toKotlin(args0)
}),
keyId = javaType.keyId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy