aws-cdk.aws-events
Amazon EventBridge Construct Library
What it is and what it does
This package provides AWS CDK constructs for Amazon EventBridge, allowing you to define event-driven architectures in Python code. It lets you create rules that match incoming events based on patterns and route them to targets like Lambda functions, SNS topics, SQS queues, ECS tasks, and other AWS services. You can also define custom event buses, schedule rules using cron or rate expressions, and configure cross-account and cross-region event delivery.
The package is built on top of aws-cdk.core and aws-cdk.aws-iam, and depends on constructs, jsii, publication, and typeguard for type safety and interoperability. However, it is part of AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer maintained—AWS recommends migrating to CDK v2 for ongoing support and updates.
Use it for:
- Define event-driven workflows that trigger Lambda functions or ECS tasks when AWS resources change state.
- Route CodeCommit repository events to CodeBuild or CodePipeline for CI/CD automation.
- Set up scheduled tasks using cron expressions to run periodic workloads on a fixed schedule.
- Implement cross-account event delivery to route events from one AWS account to targets in another.
- Archive and replay events for debugging, auditing, or re-processing historical event streams.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides AWS CDK constructs for defining Amazon EventBridge rules, event buses, and routing patterns in infrastructure-as-code.
No—this is AWS CDK v1, which reached end-of-support on 2023-06-01 and is no longer being updated. New projects should use AWS CDK v2 instead. Existing v1 projects can install this for maintenance, but migration to v2 is strongly recommended to receive ongoing support, security patches, and new features.
Install
aws-cdk-aws-events on PyPI
pip
pip install aws-cdk-aws-eventsuv
uv add aws-cdk-aws-eventspoetry
poetry add aws-cdk-aws-eventsInstalling aws-cdk.aws-events
Before you install
Low install friction with standard CDK dependencies. 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-events
from aws_cdk.aws_events import Rule, Schedule
from aws_cdk.aws_iam import Role
rule = Rule(self, "MyRule", schedule=Schedule.cron(minute="0", hour="4"))
Requires Python 3.7 or later; AWS CDK v1 is end-of-support as of 2023-06-01 and will not receive updates.
Verify before relying
- Whether migration tooling from CDK v1 to v2 is available and how complex the upgrade path is for existing projects.
- Current security patch status and timeline for CDK v1 end-of-life support.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (~=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — aws-cdk.aws-iam, aws-cdk.core, constructs, jsii, publication, typeguard |
| Maintenance | actively maintained — 1,152 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 177,507/month — #10,210 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_cdk.aws_events-1.204.0-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
aws-cdk.aws-ecsProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-codestarnotificationsDefines AWS CodeStarNotifications rules in…
permissive · top 15,000 on PyPI
aws-cdk.aws-snsProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
cdk-events-notifyAn AWS CDK Construct Library that automatically…
permissive · top 15,000 on PyPI
aws-cdk.aws-autoscaling-hooktargetsProvides integration classes for AWS…
permissive · top 15,000 on PyPI
aws-cdk.aws-sns-subscriptionsProvides AWS CDK constructs for subscribing SNS…
permissive · top 15,000 on PyPI
aws-cdk.aws-codecommitProvides AWS CDK constructs for creating and…
permissive · top 15,000 on PyPI
aws-cdk.aws-sqsProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-cloudwatchDefines CloudWatch metrics, alarms, and…
permissive · top 15,000 on PyPI
aws-cdk.aws-iot-actions-alphaProvides AWS CDK constructs that define actions…
permissive · top 15,000 on PyPI