Registry / aws / aws-cdk-aws-kinesisfirehose-alpha

aws-cdk-aws-kinesisfirehose-alpha

JSON →
library2.186.0a0pypypiunverified

This AWS Cloud Development Kit (CDK) module provides constructs for provisioning AWS Kinesis Firehose resources. Currently at version 2.186.0a0, this `alpha` module is deprecated. All its constructs have been moved to the stable `aws-cdk-aws-kinesisfirehose` module, which is part of `aws-cdk-lib`. CDK follows a rapid release cadence for patch versions and regular minor version updates.

pip install aws-cdk-lib aws-cdk.aws-kinesisfirehose constructs
INSTALL
IMPORT
SIG · AWS-CDK-AWS-KINESI
A
aws-cdk-aws-kinesisfirehose-alpha
awspythonv2.186.0a0
Install
46ms avg
Import
Disk
724MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.186.0a0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✓ 0.03s
3/4 runs
py 3.11
✓ 0.05s
2/4 runs
py 3.12
✓ 0.05s
2/4 runs
py 3.13
✓ 0.05s
2/4 runs
py 3.9
✓ 0.05s
3/4 runs
724MB installed
● package 724MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CfnDeliveryStream
from aws_cdk.aws_kinesisfirehose import CfnDeliveryStream
from aws_cdk.aws_kinesisfirehose_alpha import CfnDeliveryStream
The alpha module is deprecated; all constructs have moved to the stable `aws_cdk.aws_kinesisfirehose` namespace, which is part of `aws_cdk_lib`.

This quickstart demonstrates how to define a Kinesis Firehose Delivery Stream using the stable `aws_cdk.aws_kinesisfirehose` module. It creates a simple Firehose stream configured to deliver data directly to an S3 bucket, including the necessary IAM role. Ensure your AWS credentials and CDK environment variables (`CDK_DEFAULT_ACCOUNT`, `CDK_DEFAULT_REGION`) are configured.

import os from aws_cdk import ( Stack, App, Environment, aws_s3 as s3, aws_iam as iam, ) from aws_cdk.aws_kinesisfirehose import CfnDeliveryStream from constructs import Construct class FirehoseStack(Stack): def __init__(self, scope: Construct, id: str, **kwargs) -> None: super().__init__(scope, id, **kwargs) # S3 bucket for Firehose destination bucket = s3.Bucket(self, "FirehoseDestinationBucket") # IAM Role for Firehose firehose_role = iam.Role( self, "FirehoseRole", assumed_by=iam.ServicePrincipal("firehose.amazonaws.com"), managed_policies=[ iam.ManagedPolicy.from_aws_managed_policy_name("AmazonKinesisFirehoseFullAccess") ] ) bucket.grant_read_write(firehose_role) # Kinesis Firehose Delivery Stream to S3 CfnDeliveryStream( self, "MyDeliveryStream", delivery_stream_name="MyTestDeliveryStream", delivery_stream_type="DirectPut", # Or KinesisStreamAsSource extended_s3_destination_configuration=CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty( bucket_arn=bucket.bucket_arn, role_arn=firehose_role.role_arn, buffering_hints=CfnDeliveryStream.BufferingHintsProperty( interval_in_seconds=300, size_in_m_bs=5 ), compression_format="UNCOMPRESSED", prefix="firehose/data/", error_output_prefix="firehose/errors/" ) ) app = App() FirehoseStack(app, "FirehoseExampleStack", env=Environment( account=os.environ.get("CDK_DEFAULT_ACCOUNT"), region=os.environ.get("CDK_DEFAULT_REGION") ) ) app.synth()
Debug
Known issues
breakingThe `aws-cdk-aws-kinesisfirehose-alpha` module is deprecated. Its constructs have been moved to the stable `aws_cdk.aws_kinesisfirehose` namespace, which is now part of `aws-cdk-lib`. Continuing to use the alpha package will lead to outdated APIs and potential `ModuleNotFoundError` in future CDK versions.
fix
Migrate your project to use `aws-cdk-lib` and update all import statements from `aws_cdk.aws_kinesisfirehose_alpha` to `aws_cdk.aws_kinesisfirehose`.
affects: All versions of `aws-cdk-aws-kinesisfirehose-alpha`
gotchaAfter migrating from the alpha module, ensure all import statements are updated from `from aws_cdk.aws_kinesisfirehose_alpha import ...` to `from aws_cdk.aws_kinesisfirehose import ...`.
fix
Search and replace import statements in your CDK application code.
affects: All versions
gotchaAlpha modules are subject to breaking changes without notice. When migrating to the stable module, review the API documentation for any subtle differences in construct properties, default behaviors, or methods that might have evolved during the stabilization process.
fix
Consult the official AWS CDK documentation for `aws_cdk.aws_kinesisfirehose` to understand the current API and adapt your code accordingly.
affects: Migration from alpha to stable
Upgrade
Version history
2.186.0a0latest on PyPI · released Mar 27, 2025
Audit
Dependencies
aws-cdk-librequiredCore AWS CDK library for defining cloud infrastructure.
constructsrequiredUnderlying building blocks for CDK applications.
Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources
aws-cdk-aws-kinesisfirehose-alpha — pip install aws-cdk-aws-kinesisfirehose-alpha · libregistry