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.
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',
});
cdk deploy
This project a based heavily on work by the following:
- commitizen-tools for commitizen