CDK Constructs for AWS Kinesis
Project description
AWS Kinesis Construct Library
Define an unencrypted Kinesis stream.
new Stream(this, 'MyFirstStream');
Encryption
Define a KMS-encrypted stream:
const stream = newStream(this, 'MyEncryptedStream', {
encryption: StreamEncryption.Kms
});
// you can access the encryption key:
assert(stream.encryptionKey instanceof kms.EncryptionKey);
You can also supply your own key:
const myKmsKey = new kms.EncryptionKey(this, 'MyKey');
const stream = new Stream(this, 'MyEncryptedStream', {
encryption: StreamEncryption.Kms,
encryptionKey: myKmsKey
});
assert(stream.encryptionKey === myKmsKey);
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aws-cdk.aws-kinesis-0.28.0.tar.gz
(52.1 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.28.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78d1d5fa437add7cc9ca75759f1bcfe24143d5cb276b1079aa0d15e1dc323125 |
|
MD5 | 27853c6eee40679cdbe83827b32eca82 |
|
BLAKE2b-256 | 73caa19edbb616d9519b06d669c803b559bda25b9dcfd72ca25fbf8a29d42fc8 |
Close
Hashes for aws_cdk.aws_kinesis-0.28.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5510cac10ea2e3df88a697401e34f88ec02746ece73af607f90d1bd9ad6c362 |
|
MD5 | 69b6738d8375c1228210d1d1ba807dd2 |
|
BLAKE2b-256 | 3d8e6e9d51fe5c971231c8e9a52e5b814d3b88605b92a9bb0cc344cfd3013fae |