Skip to main content

AWS package which creates a Slack subscriber to a SNS Topic.

Project description

AWS SNS Slack Subscriber

A library that creates a slack subscriber to your aws sns topic.

Remarks

The project is written by Laimonas Sutkus and is owned by iDenfy. This is an open source library intended to be used by anyone. iDenfy aims to share its knowledge and educate market for better and more secure IT infrastructure.

Related technology

This project utilizes the following technology:

  • AWS (Amazon Web Services).
  • AWS CDK (Amazon Web Services Cloud Development Kit).
  • AWS Lambda.
  • AWS Sns.
  • Slack.

Install

The project is built and uploaded to PyPi. Install it by using pip.

pip install aws_sns_slack_subscriber

Or directly install it through source.

./build.sh -ic

Description

When you have SNS Topics, you may subscribe to them with various ways. For example, email subscription will send an email to a desired email address when a notification is pushed to a SNS Topic. Most of the time email subscription is not ideal as it may clutter your email box. Hence, there are other ways to subscribe to a SNS Topic. We think the most convenient way to subscribe to SNS Topic is a Lambda Function integration which sends callbacks to your specified Slack channel. This library project is about that. It creates a "Slack subscription" with a help of Lambda.

Examples

Create sns slack subscriber as any other lambda function:

from aws_sns_slack_subscriber.slack_subscriber import SlackSubscriber

lambda_function_slack_subscirber = SlackSubscriber(...)

Release history

1.1.1

Add js file to manifest.

1.1.0

Add ability to specify slack channel.

1.0.0

Initial commit.

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

aws_sns_slack_subscriber-1.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

aws_sns_slack_subscriber-1.1.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file aws_sns_slack_subscriber-1.1.1.tar.gz.

File metadata

  • Download URL: aws_sns_slack_subscriber-1.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/2.7.15+

File hashes

Hashes for aws_sns_slack_subscriber-1.1.1.tar.gz
Algorithm Hash digest
SHA256 be4c6c581c746d36cae1f3525900d86edee51a53c40970e585f33d1feaa73254
MD5 af9f5bf2a29d32fb2f4f6005b6bfd0ce
BLAKE2b-256 13a82f3933d7e70f70013d2a0dbfe0d5a33429f727d2cf5d652983f32afb151e

See more details on using hashes here.

File details

Details for the file aws_sns_slack_subscriber-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: aws_sns_slack_subscriber-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/2.7.15+

File hashes

Hashes for aws_sns_slack_subscriber-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8df118b3fa6a4bda02bc8224fd1b73461d51211f7b77dc4d7332017a3fb6680
MD5 829e06864a7b95a1f9fe140b016ae7e9
BLAKE2b-256 931206e0f0ca7116e92edb01a7a3d0cd7f37ce54f49e06cca51e5c99ed5ccd79

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