Skip to main content

A JSII construct lib to deploy a service to send new changes pushed to codecommit to slack channel

Project description

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

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
import aws_cdk.core as cdk
from cdk_changelog_slack_notify import ChangelogSlackNotify

app = cdk.App()

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

demo_stack = cdk.Stack(app, "DemoStack", env=env)

ChangelogSlackNotify(test_stack, "ChangelogSlackNotify",
    repository_name="test-repo",
    slack_token="slack-token",
    channel_name="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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-changelog-slack-notify-1.74.0.tar.gz (26.2 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page