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-0.36.1.tar.gz
(46.1 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.36.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27bef57a623af6deeca2c840756c7f881694a55aa66e2b13cab79fa39c56da22 |
|
MD5 | f2a8606f044bd5cdc361609eec515218 |
|
BLAKE2b-256 | e900a5dd079551529d04c697e6be320326616abef64acf85a08c356b815a5ae7 |
Close
Hashes for aws_cdk.aws_kinesis-0.36.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d6ad468b86d2da82f04e36fc94d1bb2791c974caad7d1c138c3cd1a08b1a0e |
|
MD5 | 57467689897749835694c69110f3c12e |
|
BLAKE2b-256 | 746541729b717b8954429bb7dd2dbd9e126f50c87522613d3d07360207929d9f |