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.29.0.tar.gz
(53.6 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.29.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49846fa4128bb69311bc2d0dbcc8413b839fe7e29a2999d2495cf824a4d8e7a8 |
|
MD5 | 3225ebf37719d981ecc9f25286849bd1 |
|
BLAKE2b-256 | ae7792d4057c7955c06c7e201bfcba636ffc5d861677dc3cc314fb4bbbbc022f |
Close
Hashes for aws_cdk.aws_kinesis-0.29.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85680b32fda4e9bca1409f85c08bdfcc7448d05eebf1c1a1145d03917d61b83d |
|
MD5 | 05fedbc28d531572184fb10046fc5371 |
|
BLAKE2b-256 | 936767932dcbfba38dd26d28256af167839143a725918d1b3eb1270faef4bbcd |