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-1.0.0.tar.gz (46.9 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-1.0.0-py3-none-any.whl (46.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws-cdk.aws-kinesis-1.0.0.tar.gz
  • Upload date:
  • Size: 46.9 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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c2b059a767f2d1a7b53f19213e6c0713309a1b77a1aa014205533ff0a742fa7e
MD5 33c071c095848b7a80ec970689d00cb8
BLAKE2b-256 fa91334a69babf78824b2071173d5e9d5bfcf0d98ed720ad6ef5b2e59ccb0926

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aws_cdk.aws_kinesis-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 46.2 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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7efa24ee82103438cd124585fa89603693dbd1d7c9fb0b5155ce115a2e4a6d0
MD5 829642ef3065c4d57c61415f5aa1b0e3
BLAKE2b-256 e5c4ad9bb087ad521e47942a1f95ef975f2722d162686f88dd960402880fe5f1

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