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 details)

Uploaded Source

Built Distribution

File details

Details for the file cdk-changelog-slack-notify-1.74.0.tar.gz.

File metadata

  • Download URL: cdk-changelog-slack-notify-1.74.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9

File hashes

Hashes for cdk-changelog-slack-notify-1.74.0.tar.gz
Algorithm Hash digest
SHA256 fbe36baeb707cfcd07007f577903874a4241403074e6040fea81f18d3c38313a
MD5 032445e35be8050103c46a35621e3660
BLAKE2b-256 676d98829418419e023e62fa073b2dc4ab67ce69c256d443a4292b145e16d801

See more details on using hashes here.

File details

Details for the file cdk_changelog_slack_notify-1.74.0-py3-none-any.whl.

File metadata

  • Download URL: cdk_changelog_slack_notify-1.74.0-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9

File hashes

Hashes for cdk_changelog_slack_notify-1.74.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7eaef79aa5113891bf21c4229c3d58a2fbebf427fde2a57307d256f01a2911f4
MD5 27ea5e36e062f7727df2eca9c23d3a85
BLAKE2b-256 90205c37463f6c463f7c12865adb79d87a16a7e721e7669305c10f7d7b42a7e2

See more details on using hashes here.

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