enum StreamEncryption
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Kinesis.StreamEncryption |
![]() | software.amazon.awscdk.services.kinesis.StreamEncryption |
![]() | aws_cdk.aws_kinesis.StreamEncryption |
![]() | @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.