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.31.0.tar.gz
(53.5 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.31.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f67064662e91203651443ae94559e7b87045faa50ff1a7dd0764f042cf600758 |
|
MD5 | cbd46b66176adc4a2a6afba2da3fa944 |
|
BLAKE2b-256 | 42edaa28de432c4ca37c69436105b7ed6973c8c0681808f15c40ede5a20237dd |
Close
Hashes for aws_cdk.aws_kinesis-0.31.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9b342ab70e34ccbddaa403b22a6ac2925a503582a6f553d8a4a97e23297b766 |
|
MD5 | c59ed1c849a43ea35f244f51cba05bdb |
|
BLAKE2b-256 | 42c7bfb0a1204c83e4eb9d0bdb59ec9c81c660fd586043f4d1b3a53e19169dd4 |