StreamEncryptionArgs

data class StreamEncryptionArgs(val encryptionType: Output<StreamEncryptionEncryptionType>, val keyId: Output<String>) : ConvertibleToJava<StreamEncryptionArgs>

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.

Constructors

Link copied to clipboard
constructor(encryptionType: Output<StreamEncryptionEncryptionType>, keyId: Output<String>)

Properties

Link copied to clipboard

The encryption type to use. The only valid value is KMS.

Link copied to clipboard
val keyId: Output<String>

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.

Functions

Link copied to clipboard
open override fun toJava(): StreamEncryptionArgs