Skip to content
v2.275.0

StreamEncryption Enum ​

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

Example ​

ts
const lambdaRole = new iam.Role(this, 'Role', {
  assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com'),
  description: 'Example role...',
});

const stream = new kinesis.Stream(this, 'MyEncryptedStream', {
  encryption: kinesis.StreamEncryption.KMS,
});

// give lambda permissions to read stream
stream.grantRead(lambdaRole);

Members ​

MemberDescription
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.

Referenced by ​

  • StreamProps.encryptionencryptionencryptionEncryptionEncryption