aws-cdk.aws-kinesis
The CDK Construct Library for AWS::Kinesis
What it is and what it does
This package provides CDK constructs to define Amazon Kinesis data streams as part of your infrastructure-as-code stack. It wraps the AWS Kinesis API, allowing you to create streams with configurable shard counts and retention periods, set up server-side encryption with KMS keys, grant IAM permissions to principals, and emit CloudWatch metrics—all declaratively in Python.
However, this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer receiving updates. The package remains functional but unmaintained; AWS recommends migrating to AWS CDK v2 for ongoing support and new features. If you are starting a new project or maintaining an existing one, you should plan to upgrade rather than adopt v1.
Use it for:
- Define Kinesis streams in a CDK stack with custom shard counts and retention periods for real-time data ingestion.
- Set up encryption on streams using AWS-managed or customer-managed KMS keys via CDK constructs.
- Grant read, write, or read-write permissions to Lambda functions, IAM roles, or other principals that need to access streams.
- Import and reference existing Kinesis streams created outside the CDK stack by ARN or attributes.
- Create CloudWatch metrics and alarms for stream performance monitoring from within your CDK application.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Defines AWS Kinesis data streams as infrastructure-as-code constructs for the AWS CDK, enabling you to provision, configure, and manage stream resources, encryption, permissions, and metrics programmatically.
No, unless you are maintaining an existing AWS CDK v1 project. This package is end-of-support as of 2023-06-01 and no longer receives updates. For new projects, use AWS CDK v2 instead. For existing v1 projects, plan a migration to v2 to maintain support and access to new features.
Install
aws-cdk-aws-kinesis on PyPI
pip
pip install aws-cdk-aws-kinesisuv
uv add aws-cdk-aws-kinesispoetry
poetry add aws-cdk-aws-kinesisInstalling aws-cdk.aws-kinesis
Before you install
Low install friction with a pure-Python wheel. However, this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated; users should migrate to AWS CDK v2 instead.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install aws-cdk.aws-kinesis
from aws_cdk import aws_kinesis as kinesis
from aws_cdk import core
class MyStack(core.Stack):
def __init__(self, scope: core.Construct, id: str, **kwargs):
super().__init__(scope, id, **kwargs)
stream = kinesis.Stream(self, "MyStream", stream_name="my-stream")
Requires AWS CDK v1 core library and associated AWS construct dependencies; v1 is end-of-support as of 2023-06-01.
Verify before relying
- Whether migration tooling or documentation from v1 to v2 is readily available and straightforward for existing projects.
- Performance characteristics or throughput limits when managing streams with high shard counts or retention periods.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (~=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — aws-cdk.aws-cloudwatch, aws-cdk.aws-iam, aws-cdk.aws-kms, aws-cdk.aws-logs, aws-cdk.core, constructs, jsii, publication, typeguard |
| Maintenance | actively maintained — 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 141,215/month — #11,246 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.aws_kinesis-1.204.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
aws-cdk.aws-dynamodbProvides AWS CDK constructs for defining,…
permissive · top 15,000 on PyPI
aws-cdk.aws-kinesisfirehose-alphaProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-kinesis-aggAggregates and deaggregates Kinesis records…
permissive · top 15,000 on PyPI
aws-logging-handlersRoutes Python logging records to AWS S3 and…
permissive · top 15,000 on PyPI
aws-cdk.aws-kinesisfirehose-destinations-alphaProvides AWS CDK constructs for configuring…
permissive · top 15,000 on PyPI
aws-cdk.aws-kmsProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-s3Defines AWS S3 buckets and related resources as…
permissive · top 15,000 on PyPI
aws-cdk.aws-kinesisanalytics-flink-alphaProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-logsProvides AWS CDK constructs for creating and…
permissive · top 15,000 on PyPI
aws-cdk.aws-lambdaDefines AWS Lambda functions and layers as…
permissive · top 15,000 on PyPI