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.32.0.tar.gz
(51.6 kB
view hashes)
Built Distribution
Close
Hashes for aws-cdk.aws-kinesis-0.32.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2ffb06129911e59ba3459a788f38e76b8b2eb2223c24423649772f703905e53 |
|
MD5 | e0be726b412c60bc8a622597d695e28b |
|
BLAKE2b-256 | 8696f127cf744780a9d8696139490f20e3b4fe0a2203463126bc8361bf694d71 |
Close
Hashes for aws_cdk.aws_kinesis-0.32.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcfcfe76deb9b11c1ad42a0a5511a12e3424bf81501d38a3f2d34c67d8213406 |
|
MD5 | 78ee902c1a716ff04466538813602ffd |
|
BLAKE2b-256 | 191ec376b0f4a52b45afbce345ab7ae5224eadd0ecbce205facc1ae3d5b481b7 |