StreamEncryption
- class aws_cdk.aws_kinesis.StreamEncryption(*values)
- Bases: - Enum- What kind of server-side encryption to apply to this stream. - ExampleMetadata:
- infused 
 - Example: - lambda_role = iam.Role(self, "Role", assumed_by=iam.ServicePrincipal("lambda.amazonaws.com"), description="Example role..." ) stream = kinesis.Stream(self, "MyEncryptedStream", encryption=kinesis.StreamEncryption.KMS ) # give lambda permissions to read stream stream.grant_read(lambda_role) - Attributes - KMS
- Server-side encryption with a KMS key managed by the user. - If - encryptionKeyis 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.