CDK Constructs for AWS Kinesis
Project description
Amazon Kinesis Construct Library
This is a developer preview (public beta) module. Releases might lack important features and might have future breaking changes.
This API is still under active development and subject to non-backward compatible changes or removal in any future version. Use of the API is not recommended in production environments. Experimental APIs are not subject to the Semantic Versioning model.
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.Key);
You can also supply your own key:
const myKmsKey = new kms.Key(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-1.10.0.tar.gz
(49.1 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-1.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183f3774a8fff16eec15b9b3f9a4e7c6cdccc5bb8bbef068aa15cfd042241916 |
|
MD5 | a2ee69976c7a2973fca509cad121c847 |
|
BLAKE2b-256 | cc49cb2b2f3cb5414890eaad6f612bf9d79a77bc50332a40ebf7e3c87b42418e |
Close
Hashes for aws_cdk.aws_kinesis-1.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 476b9972c4e90665ea0adfbecbfe5b21bd5d7e57e4690d6ea9e6fdecf95016fd |
|
MD5 | 5ff2b8f1168c1d6100a676b80f888ea4 |
|
BLAKE2b-256 | d413175c6511e7aa4599f7b30e24c5cef485e438f202148c76085e3fd8574f50 |