Registry / devops / aws-cdk-aws-pipes-sources-alpha

aws-cdk-aws-pipes-sources-alpha

JSON →
library2.258.0a0pypypi✓ verified 84d ago

The CDK Construct Library for Amazon EventBridge Pipes Sources, part of the AWS Cloud Development Kit. This alpha module provides constructs that act as sources for EventBridge Pipes, enabling integration with various AWS services like DynamoDB, Kinesis, SQS, and more. Current version is 2.258.0a0, released on 2025-06-06, with weekly releases following the CDK release cadence.

pip install aws-cdk-aws-pipes-sources-alpha
INSTALL
IMPORT
SIG · AWS-CDK-AWS-PIPES-
A
aws-cdk-aws-pipes-sources-alpha
devopspythonv2.258.0a0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

DynamoDBSource
from aws_cdk.aws_pipes_sources_alpha import DynamoDBSource
Standard import for DynamoDB stream source.
KinesisSource
from aws_cdk.aws_pipes_sources_alpha import KinesisSource
Standard import for Kinesis stream source.
SQSSource
from aws_cdk.aws_pipes_sources_alpha import SQSSource
Standard import for SQS queue source.
SqsSource
from aws_cdk.aws_pipes_sources_alpha import SqsSource
Incorrect casing; class is 'SQSSource' (all caps).
PipeSource
from aws_cdk.aws_pipes_sources_alpha import PipeSource
There is no base class 'PipeSource'; use specific source classes.

Minimal example using SQS as source and Lambda as target. Requires pre-existing queue and function.

from aws_cdk import App, Stack from aws_cdk.aws_pipes_alpha import Pipe, PipeSource, PipeTarget from aws_cdk.aws_pipes_sources_alpha import SQSSource from aws_cdk.aws_pipes_targets_alpha import LambdaFunctionTarget from aws_cdk.aws_lambda import Function, Code, Runtime app = App() stack = Stack(app, 'QuickstartStack') # Create source and target resources (not shown for brevity) # source_queue = sqs.Queue(stack, 'SourceQueue') # target_function = Function(stack, 'TargetFunction', ...) # Define the pipe source = SQSSource(source_queue) target = LambdaFunctionTarget(target_function) pipe = Pipe(stack, 'Pipe', source=source, target=target ) app.synth()
Debug
Known issues
deprecatedThis is an alpha module and may have breaking changes in future releases. Do not use in production without understanding the alpha stability guarantees.
fix
Pin to a specific version and test thoroughly on upgrade.
affects: all
breakingMajor CDK version bumps (e.g., from v1 to v2) change import paths and class names. Ensure you are using CDK v2.
fix
Use imports from 'aws_cdk.aws_pipes_sources_alpha' (not 'aws_cdk.aws_pipes.sources').
affects: >=2.0.0
gotchaSome source constructs require specific resource configurations (e.g., DynamoDB streams must be enabled). Failure to configure will cause deployment errors.
fix
Check the documentation for each source's required resource settings.
affects: all
gotchaThe source and target constructs must be compatible. For example, not all sources can connect to all targets; validation occurs at deploy time.
fix
Refer to AWS EventBridge Pipes documentation for valid source-target combinations.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'aws_cdk.aws_pipes_sources_alpha'
Missing package install or wrong Python environment.
fix
Run 'pip install aws-cdk-aws-pipes-sources-alpha' and ensure your virtual environment is active.
JSIIError: jsii.errors.JSIIError: ... (resource:aws-cdk-aws-pipes-sources-alpha) ...
Version mismatch between this alpha module and the core CDK library (aws-cdk-lib).
fix
Ensure aws-cdk-lib and aws-cdk-aws-pipes-sources-alpha have compatible versions (e.g., both 2.258.0a0).
AttributeError: module 'aws_cdk.aws_pipes_sources_alpha' has no attribute 'DynamoDBSource'
Incorrect import or version does not support that source.
fix
Verify the source class name (e.g., 'DynamoDBSource') is available in your installed version. Check documentation.
Upgrade
Version history
2.258.0a0latest on PyPI · released Jun 4, 2026
Audit
Dependencies
aws-cdk-librequiredCore CDK library required for all CDK apps.
constructsrequiredConstruct programming model.
Agent activity
11 hits · last 30 days
node
8
OpenAI (training)
2
Resources
aws-cdk-aws-pipes-sources-alpha — pip install aws-cdk-aws-pipes-sources-alpha · libregistry