aws-cdk-lib.aws_kinesis.StreamEncryption

enum StreamEncryption

LanguageType name
.NETAmazon.CDK.AWS.Kinesis.StreamEncryption
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awskinesis#StreamEncryption
Javasoftware.amazon.awscdk.services.kinesis.StreamEncryption
Pythonaws_cdk.aws_kinesis.StreamEncryption
TypeScript (source)aws-cdk-lib » 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

NameDescription
UNENCRYPTEDRecords in the stream are not encrypted.
KMSServer-side encryption with a KMS key managed by the user.
MANAGEDServer-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.