Registry /
aws / aws-cdk-aws-kinesisfirehose-destinations-alpha
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
muslpy 3.10–3.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 480MB
glibcpy 3.10–3.920 runs
installs and imports cleanly · install 17.2s · import 0.000s · 551MB
555MB installed
● package 555MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
S3BucketDestination
✓ from aws_cdk.aws_kinesisfirehose_destinations_alpha import S3BucketDestination
✗ from aws_cdk.aws_kinesisfirehose_destinations_alpha import S3BucketDestination
This quickstart demonstrates how to create a Kinesis Firehose delivery stream with an S3 destination using the stable `aws-cdk-lib` imports, which replaced the functionality of the deprecated `aws-cdk-aws-kinesisfirehose-destinations-alpha`.
import os
from aws_cdk import (
App,
Stack,
Environment,
aws_s3 as s3,
aws_kinesisfirehose as kinesisfirehose,
aws_kinesisfirehose_destinations as kinesisfirehose_destinations,
)
from constructs import Construct
class MyFirehoseStack(Stack):
def __init__(self, scope: Construct, id: str, **kwargs) -> None:
super().__init__(scope, id, **kwargs)
# Create an S3 Bucket for the Firehose destination
bucket = s3.Bucket(
self, "FirehoseDestinationBucket",
bucket_name=f"my-firehose-target-{self.account}-{self.region}",
)
# Define the S3 destination for Kinesis Firehose using the stable module
s3_destination = kinesisfirehose_destinations.S3BucketDestination(
bucket,
# Optional: configure compression, buffer, etc.
# compression=kinesisfirehose_destinations.Compression.GZIP,
)
# Create a Kinesis Firehose Delivery Stream
firehose_stream = kinesisfirehose.DeliveryStream(
self, "MyFirehoseStream",
destinations=[s3_destination],
delivery_stream_name="my-app-firehose-stream-stable",
)
app = App()
MyFirehoseStack(app, "MyFirehoseStack",
env=Environment(
account=os.environ.get('CDK_DEFAULT_ACCOUNT', '123456789012'),
region=os.environ.get('CDK_DEFAULT_REGION', 'us-east-1')
)
)
app.synth()
Upgrade
Version history
2.186.0a0latest on PyPI · released Mar 27, 2025
Audit
Dependencies
aws-cdk-librequiredThis library's functionality has been integrated into `aws-cdk-lib`. It is the recommended replacement.