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.30.0.tar.gz
(53.1 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.30.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bac3da3ff73e8cc4aa609170568f22cc906f968a3863f826fb8874dfafa352ab |
|
MD5 | 071dbc94e2db6a5e742b850504fced83 |
|
BLAKE2b-256 | 5e6e5f428c979222e2779acd656b0bdddecbbefa3e6d2320ddcfedece0cbe2c6 |
Close
Hashes for aws_cdk.aws_kinesis-0.30.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c38bc483604cf80e32e120e81a5a0577e7171ecb118bf9f5435acdcf520c67e5 |
|
MD5 | f2eaf6d183c8f61ee0ab79231777ddef |
|
BLAKE2b-256 | 262c2a485128760b5239003a0d479f4a0ea8345ed8ebc9f0f673b42bee999efa |