Skip to content

kimisme9386/cdk-events-notify

 
 

Repository files navigation

NPM version PyPI version Release

Downloads npm PyPI

cdk-events-notify

cdk-events-notify is an AWS CDK Construct Library that provides you know who login in your aws console.

Welcome to contribute another event notify case you want.

Now support

You need enable one Management events in your account.

more see https://aws.amazon.com/tw/cloudtrail/pricing/

You need Line Notify access token

more see line notify docs

Usage

import * as cdk from '@aws-cdk/core';
import { EventNotify } from 'cdk-events-notify';

const app = new cdk.App();
const stack = new cdk.Stack(app, 'integ-stack', { env });
new EventNotify(stack, 'LineEventNotify', { lineNotifyToken: process.env.LINE_NOTIFY_TOKEN });

To deploy

cdk deploy

To destroy

cdk destroy

Finally

  • line
  • slack

Overview

More about EventBridge and Lambda

Note: Event Bridge can not cross region , if you console sign in not the cdk-events-notify region will not get the evnet in cloudtrail see this docs

👏 Supporters

Stargazers repo roster for @neilkuan/cdk-events-notify Forkers repo roster for @neilkuan/cdk-events-notify

About

The Events Notify AWS Construct lib for AWS CDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 63.8%
  • Python 23.9%
  • JavaScript 12.3%