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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page