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.26.0.tar.gz
(52.0 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.26.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb0d854d31f79e4fd7c3242eb36281401a29fafdf05336ee58be0aa559d43b3 |
|
MD5 | 9c6aa4fe06962752ffbe7305898b61fd |
|
BLAKE2b-256 | 50ab4180b16ef68a6bc886ec2ce962a3044c680783bbfed3fc2ee31f6125c750 |
Close
Hashes for aws_cdk.aws_kinesis-0.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eabac63c2a267810cf2f2aedab5e7a5c784d3e0a7f82c47c88695826f7352081 |
|
MD5 | 230c416de43b5dc89b4504dda0576ab7 |
|
BLAKE2b-256 | dfa8db11443dc554ae5c82ee51be8f7b83bef063fb9f36a6ce36659074d33713 |