Skip to main content

This AWS CDK Construct is designed to post messages sent from an SNS topic to a Slack Webhook via a Lambda function.

Project description

AWS SNS Slack Message Lambda Subscription

GitHub npm (scoped) PyPI Nuget GitHub Workflow Status (branch) GitHub release (latest SemVer)

This AWS CDK Construct is designed to post messages sent from an SNS topic to a Slack Webhook via a Lambda function. The Lambda function accepts JSON text as a message, formats it for Slack, and sends it to the Slack Webhook API.

Sample Message

{
    "text": ":mega: *TEST*",
    "attachments": [{
        "color": "#2eb886",
        "title": "CodePipeline pipeline execution *SUCCEED*",
        "title_link": "http://github.com/yicr",
        "fields": [
            {
                "title": "Pipeline",
                "value": "pipeline-name"
            }
        ]
    }]
}

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

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file gammarers_aws_sns_slack_message_lambda_subscription-0.2.5.tar.gz.

File metadata

File hashes

Hashes for gammarers_aws_sns_slack_message_lambda_subscription-0.2.5.tar.gz
Algorithm Hash digest
SHA256 b89552c2fa2d2cb5583d60ada9ae1069297270167afeda2427d28145d7edb3a8
MD5 56d61caafc0f8b5d59a266e5485a23b6
BLAKE2b-256 7f8cfe15fe18deb7e299dbb9b48c5d325efd5bc7d59e35108acf273650fa3b23

See more details on using hashes here.

File details

Details for the file gammarers.aws_sns_slack_message_lambda_subscription-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for gammarers.aws_sns_slack_message_lambda_subscription-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 25ce9115564373908cc9376c5ccf7310efbedf35417cd0adbe66b19dc041002f
MD5 02721fc442ba3436c2fce7c3f3567095
BLAKE2b-256 40ae58901a8f7361e9a9c97c8a81fb1290921bdc8e24f44e1309769de11bb2eb

See more details on using hashes here.

Supported by

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