StreamEncryption

class aws_cdk.aws_kinesis.StreamEncryption(value)

Bases: Enum

What kind of server-side encryption to apply to this stream.

ExampleMetadata:

infused

Example:

key = kms.Key(self, "MyKey")

kinesis.Stream(self, "MyEncryptedStream",
    encryption=kinesis.StreamEncryption.KMS,
    encryption_key=key
)

Attributes

KMS

Server-side encryption with a KMS key managed by the user.

If encryptionKey is specified, this key will be used, otherwise, one will be defined.

MANAGED

Server-side encryption with a master key managed by Amazon Kinesis.

UNENCRYPTED

Records in the stream are not encrypted.