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.33.0.tar.gz
(44.5 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.33.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d78d598ba24de26afe56cf39941497ae05c10f063af08fc2ab4320bdb030bf8 |
|
MD5 | 21c7e03f3288d6eae7a5c0f348772389 |
|
BLAKE2b-256 | 397c10adb95a7a34bf3cee4d95998bb0b7b9f7d14c2d73d8a2bcaeb2b46fd300 |
Close
Hashes for aws_cdk.aws_kinesis-0.33.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a8541adad693a29fd3928c1cca4ffa2522820c5ecec1b2f9e46da75fd2959f |
|
MD5 | 54fc248b63aba56f3762f481cc071416 |
|
BLAKE2b-256 | 1f4bf6ff1c9db2b17d19cc69a5ec52953d18e7c20856f314fbd8cd3b5b666f72 |