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

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.4.tar.gz.

File metadata

File hashes

Hashes for gammarers_aws_sns_slack_message_lambda_subscription-0.2.4.tar.gz
Algorithm Hash digest
SHA256 4eeb463c10b3a7152bd8ea8b4484a0412a3c8ccd2061024a41c6863ca3a9084b
MD5 17f86dd45973c35d3ee435b9f37cf42b
BLAKE2b-256 65a132c149e8402b9094e524f507539a1098c243d443524df4d10f605deca8ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gammarers.aws_sns_slack_message_lambda_subscription-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dc239824a5299876f31b00d54339e66411bb999d1b11fbaf7ee5a1b7b04a7b81
MD5 f4a67d3e6b8d45a217b4de7c811993fc
BLAKE2b-256 a8afac52c9d57b7d6b41a8bf27ca7cd6c89d3a1d4a767741db0f3c156e837fbf

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