skillfed

aws-cdk.aws-kinesis

The CDK Construct Library for AWS::Kinesis

aws-cdk-aws-kinesis v1.204.0 141.2K downloads/30d#11,246 on PyPI12,868
Permissive license Apache-2.0 Active released

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-kinesis

uv

uv add aws-cdk-aws-kinesis

poetry

poetry add aws-cdk-aws-kinesis

Installing 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

Development Status :: 7 - InactiveFramework :: AWS CDKFramework :: AWS CDK :: 1Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Tags

AWS CDK Kinesis streamsinfrastructure as code kinesisAWS stream provisioning CDKkinesis construct libraryCDK stream encryption and permissions
aws-cdkend-of-supportinfrastructure-as-code

More Build Tools packages

packaging

Provides reusable utilities for Python…

permissive · top 100 on PyPI

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

pip

pip is the standard installer for Python…

permissive · top 100 on PyPI

hatchling

Hatchling is a standards-compliant Python build…

permissive · top 100 on PyPI

grpcio-tools

Generates Python gRPC service stubs and message…

permissive · top 1,000 on PyPI

pre-commit

pre-commit is a framework for installing and…

permissive · top 1,000 on PyPI

aws-cdk.aws-dynamodb

Provides AWS CDK constructs for defining,…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisfirehose-alpha

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-kinesis-agg

Aggregates and deaggregates Kinesis records…

permissive · top 15,000 on PyPI

aws-logging-handlers

Routes Python logging records to AWS S3 and…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisfirehose-destinations-alpha

Provides AWS CDK constructs for configuring…

permissive · top 15,000 on PyPI

aws-cdk.aws-kms

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3

Defines AWS S3 buckets and related resources as…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisanalytics-flink-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-logs

Provides AWS CDK constructs for creating and…

permissive · top 15,000 on PyPI

aws-cdk.aws-lambda

Defines AWS Lambda functions and layers as…

permissive · top 15,000 on PyPI