skillfed

aws-cdk.aws-events

Amazon EventBridge Construct Library

aws-cdk-aws-events v1.204.0 177.5K downloads/30d#10,210 on PyPI12,868
Permissive license Apache-2.0 Active released

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

uv

uv add aws-cdk-aws-events

poetry

poetry add aws-cdk-aws-events

Installing 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

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

eventbridge cdk constructsaws event routing infrastructurecdk event rules and targetseventbridge pattern matchingaws events infrastructure codecdk event bus managementserverless event orchestration
infrastructure-as-codeaws-cdkevent-driven

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

aws-cdk.aws-ecs

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-codestarnotifications

Defines AWS CodeStarNotifications rules in…

permissive · top 15,000 on PyPI

aws-cdk.aws-sns

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

cdk-events-notify

An AWS CDK Construct Library that automatically…

permissive · top 15,000 on PyPI

aws-cdk.aws-autoscaling-hooktargets

Provides integration classes for AWS…

permissive · top 15,000 on PyPI

aws-cdk.aws-sns-subscriptions

Provides AWS CDK constructs for subscribing SNS…

permissive · top 15,000 on PyPI

aws-cdk.aws-codecommit

Provides AWS CDK constructs for creating and…

permissive · top 15,000 on PyPI

aws-cdk.aws-sqs

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-cloudwatch

Defines CloudWatch metrics, alarms, and…

permissive · top 15,000 on PyPI

aws-cdk.aws-iot-actions-alpha

Provides AWS CDK constructs that define actions…

permissive · top 15,000 on PyPI