--- id: aws-cdk-aws-events version: "1.204.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-cdk.aws-events — Amazon EventBridge Construct Library License: permissive · Maintenance: active · Downloads: 177.5K/mo ## 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 above — 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 pip install aws-cdk-aws-events uv add aws-cdk-aws-events 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_current - Install friction: low - Maintenance: active - Downloads: 177.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags eventbridge cdk constructs, aws event routing infrastructure, cdk event rules and targets, eventbridge pattern matching, aws events infrastructure code, cdk event bus management, serverless event orchestration, infrastructure-as-code, aws-cdk, event-driven [View on SkillFed](https://skillfed.io/packages/aws-cdk-aws-events) · [View on PyPI](https://pypi.org/project/aws-cdk-aws-events/)