enum StreamEncryption
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Kinesis.StreamEncryption |
Java | software.amazon.awscdk.services.kinesis.StreamEncryption |
Python | aws_cdk.aws_kinesis.StreamEncryption |
TypeScript (source) | @aws-cdk/aws-kinesis » StreamEncryption |
What kind of server-side encryption to apply to this stream.
Example
const key = new kms.Key(this, 'MyKey');
new kinesis.Stream(this, 'MyEncryptedStream', {
encryption: kinesis.StreamEncryption.KMS,
encryptionKey: key,
});
Members
| Name | Description |
|---|---|
| UNENCRYPTED | Records in the stream are not encrypted. |
| KMS | Server-side encryption with a KMS key managed by the user. |
| MANAGED | Server-side encryption with a master key managed by Amazon Kinesis. |
UNENCRYPTED
Records in the stream are not encrypted.
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.

.NET
Java
Python
TypeScript (