Skip to main content

CDK Constructs for AWS Kinesis

Project description

Amazon Kinesis Construct Library


Stability: Experimental

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.37.0.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_cdk.aws_kinesis-0.37.0-py3-none-any.whl (45.5 kB view details)

Uploaded Python 3

File details

Details for the file aws-cdk.aws-kinesis-0.37.0.tar.gz.

File metadata

  • Download URL: aws-cdk.aws-kinesis-0.37.0.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for aws-cdk.aws-kinesis-0.37.0.tar.gz
Algorithm Hash digest
SHA256 37bd805d04e4db6fc83db3c7573dfad7ef3e405c35ac2c3cda035c217cbcdc7e
MD5 e65aa1a7056ba3e80a76ce7f176269eb
BLAKE2b-256 1afee105616242af0695724b5407c533db98d0cb7c0ead0214da982e0640d094

See more details on using hashes here.

File details

Details for the file aws_cdk.aws_kinesis-0.37.0-py3-none-any.whl.

File metadata

  • Download URL: aws_cdk.aws_kinesis-0.37.0-py3-none-any.whl
  • Upload date:
  • Size: 45.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for aws_cdk.aws_kinesis-0.37.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22240051454437491a3ecdb5befb35193f74a39f3e425bc6e7606f06a87b1b0b
MD5 682e0f3ff1049c63a0759f566f2d54a6
BLAKE2b-256 938af315a90976a647072726b4051bce585a11ae39af62d1333d16152702d928

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page