Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 2.22 KB

README.md

File metadata and controls

61 lines (41 loc) · 2.22 KB

NPM version PyPI version Release codecov Commitizen friendly

Downloads npm PyPI

cdk-changelog-slack-notify

cdk-changelog-slack-notify is an AWS CDK construct library that allows you to send slack notification for new changes pushed to CodeCommit with AWS CDK in Typescript or Python.

Sample

import * as cdk from '@aws-cdk/core';
import { ChangelogSlackNotify } from 'cdk-changelog-slack-notify';

const app = new cdk.App();

const env = {
    region: process.env.CDK_DEFAULT_REGION,
    account: process.env.CDK_DEFAULT_ACCOUNT,
};

const demoStack = new cdk.Stack(app, 'DemoStack', { env });

new ChangelogSlackNotify(testStack, 'ChangelogSlackNotify', {
    repositoryName: 'test-repo',
    slackToken: 'slack-token',
    channelName: 'slack-channel-name',
});

Deploy

cdk deploy

Architecture

architecture diagram

Screenshots

without changelog:

without changelog image

with changelog :

with changelog image

Credits

This project a based heavily on work by the following: