skillfed

cdk-events-notify

The Events Notify AWS Construct lib for AWS CDK

cdk-events-notify v2.3.54 73.6K downloads/30d#14,966 on PyPI13
Permissive license Apache-2.0 Abandoned released

What it is and what it does

cdk-events-notify is an AWS CDK Construct Library that bridges CloudTrail events and Slack notifications. It watches for console login and role-switch events in your AWS account and automatically triggers Lambda functions to post alerts to a Slack channel via webhook. The library abstracts away the EventBridge and Lambda plumbing, letting you declare the notification pipeline as a single CDK construct.

The package currently supports Slack webhooks only; Line Notify support was removed as of this version due to LINE's service shutdown. It requires Management events to be enabled in CloudTrail and operates within a single AWS region—cross-region console logins will not be captured. The construct depends on aws-cdk-lib, constructs, jsii, and publication, all standard CDK ecosystem libraries.

Use it for:

  • Alert your security team immediately when someone logs into the AWS console, reducing detection time for unauthorized access.
  • Monitor role-switch events to track privilege escalation or lateral movement within your AWS environment.
  • Integrate CloudTrail login events into your existing Slack-based incident response workflow.
  • Audit and log all console access attempts by forwarding events to a dedicated Slack channel for compliance review.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

An AWS CDK Construct Library that automatically sends Slack notifications when console login or role-switch events are detected in your AWS account via CloudTrail.

No. The package is abandoned (repository archived, last update 2026-06-16, marked maintenance status 'abandoned') and offers a narrow, single-purpose feature. For production security monitoring, use native AWS services (CloudTrail, EventBridge, SNS/SQS) directly or maintained third-party integrations. If you need exactly this functionality and can accept no future updates, the low install friction and permissive license make it technically usable, but the abandonment status is a significant risk for long-term deployments.

Install

cdk-events-notify on PyPI

pip

pip install cdk-events-notify

uv

uv add cdk-events-notify

poetry

poetry add cdk-events-notify

Installing cdk-events-notify

Before you install

Low install friction with a pure-Python wheel distribution. The package is marked abandoned as of the latest release, with the repository archived; it last received updates on 2026-06-16. Depends on aws-cdk-lib, constructs, jsii, and publication, all standard CDK ecosystem libraries.

License in practice

Licensed under Apache-2.0 (permissive), which allows commercial and private use with minimal restrictions. You may use, modify, and distribute the package provided you include the license notice.

Quickstart

# Install
pip install cdk-events-notify

# Usage in Python (translated from TypeScript example)
from aws_cdk import Stack, App
from cdk_events_notify import EventNotify

app = App()
stack = Stack(app, 'integ-stack')
EventNotify(stack, 'SlackEventNotify', slack={
    'slackChannelName': 'your-channel-name',
    'slackWebhookUrl': 'https://hooks.slack.com/services/xxx/xxx/xxx',
})

Requires Python 3.10 or later. You must enable Management events in CloudTrail for your AWS account, and EventBridge is region-specific—console logins outside the CDK stack's region will not trigger notifications.

Verify before relying

  • Whether the package's abandonment affects long-term compatibility with future aws-cdk-lib releases.
  • Confirmation that Line Notify removal (as of version 2.3.54) is final and no migration path exists for existing deployments.
  • Whether the package handles concurrent or high-frequency login events without throttling or cost implications.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — aws-cdk-lib, constructs, jsii, publication
Maintenance abandoned — 59 days since the last release
Last repo commit (repository archived)
First released
Downloads 73,592/month — #14,966 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: cdk_events_notify-2.3.54-py3-none-any.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

aws cdk slack notificationscloudtrail console login alertsaws event notificationscdk constructs libraryslack webhook integrationaws security monitoringeventbridge lambda notifications
aws-cdksecurity-monitoringslack-integration

More Monitoring packages

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

opentelemetry-semantic-conventions

Provides generated Python code for…

permissive · top 100 on PyPI

opentelemetry-sdk

Provides the reference implementation of the…

permissive · top 100 on PyPI

opentelemetry-api

Provides the abstract API and interfaces for…

permissive · top 100 on PyPI

opentelemetry-exporter-otlp-proto-http

Exports OpenTelemetry observability data to an…

permissive · top 1,000 on PyPI

opentelemetry-instrumentation

Provides automatic instrumentation commands and…

permissive · top 1,000 on PyPI

aws-cdk.aws-codestarnotifications

Defines AWS CodeStarNotifications rules in…

permissive · top 15,000 on PyPI

aws-cdk.aws-events

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

luigi-monitor

Sends summary Slack notifications when Luigi…

permissive · top 15,000 on PyPI

datadog-cdk-constructs-v2

Provides AWS CDK constructs to automatically…

permissive · top 15,000 on PyPI

aws-cdk.aws-codecommit

Provides AWS CDK constructs for creating and…

permissive · top 15,000 on PyPI

cdk-cloudformation-datadog-monitors-monitor

Provides an AWS CDK L1 construct for defining…

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

Defines CloudWatch metrics, alarms, and…

permissive · top 15,000 on PyPI

c7n-mailer

A message relay service that subscribes to SQS…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecr

Provides AWS CDK constructs for defining,…

permissive · top 15,000 on PyPI