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.27.0.tar.gz
(52.0 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.27.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d5fc65316b2cc360a4575db63559089bbd4fdec62883b83a2703b5aadb24c18 |
|
MD5 | 9789c8e0972876c78ee579d4a335cd5d |
|
BLAKE2b-256 | 07112b97feb0900e27262c9c04ec1022f9018e26e2846ac997d8a7082b97c292 |
Close
Hashes for aws_cdk.aws_kinesis-0.27.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10f057814402cb10c6c3f086611c57d5169e9c9e4be60d22bf73ed90bc828fc7 |
|
MD5 | d540fc5c054bd7ff465c38e3d9675f84 |
|
BLAKE2b-256 | d2b9b68a17c866583853e92b123329742c8d329aa10c416a98e0b5cb42d54683 |