aws-sns-slack-subscriber-2.2.0
توضیحات
AWS package which creates a Slack subscriber to a SNS Topic.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aws-sns-slack-subscriber-2.2.0 |
| نام | aws-sns-slack-subscriber |
| نسخه کتابخانه | 2.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Laimonas Sutkus |
| ایمیل نویسنده | laimonas.sutkus@gmail.com (laimonas@idenfy.com) |
| آدرس صفحه اصلی | https://github.com/idenfy/AwsSnsSlackSubscriber.git |
| آدرس اینترنتی | https://pypi.org/project/aws-sns-slack-subscriber/ |
| مجوز | GNU GENERAL PUBLIC LICENSE Version 3 |
## AWS SNS Slack Subscriber
A library that creates a slack subscriber to your aws sns topic.
#### Remarks
The project is written by [Laimonas Sutkus](https://github.com/laimonassutkus) and is owned by
[iDenfy](https://github.com/idenfy). This is an open source
library intended to be used by anyone. [iDenfy](https://github.com/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.
```bash
pip install aws_sns_slack_subscriber
```
Or directly install it through source.
```bash
./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:
```python
from aws_sns_slack_subscriber.slack_subscriber import SlackSubscriber
lambda_function_slack_subscirber = SlackSubscriber(...)
```
# Release history
#### 2.2.0
Force update 1.60.0 and add upper bound of 2.0.0.
#### 2.1.0
URL and AWS CDK updates.
#### 1.1.1
Completely refactor functionality. Add an explicit pipeline handler.
Rewrite everything on python.
#### 1.1.1
Add js file to manifest.
#### 1.1.0
Add ability to specify slack channel.
#### 1.0.0
Initial commit.
نیازمندی
| مقدار | نام |
|---|---|
| <2.0.0,>=1.60.0 | aws-cdk.core |
| <2.0.0,>=1.60.0 | aws-cdk.aws-lambda |
| <2.0.0,>=1.60.0 | aws-cdk.aws-sns |
| <2.0.0,>=1.60.0 | aws-cdk.aws-sns-subscriptions |
نحوه نصب
نصب پکیج whl aws-sns-slack-subscriber-2.2.0:
pip install aws-sns-slack-subscriber-2.2.0.whl
نصب پکیج tar.gz aws-sns-slack-subscriber-2.2.0:
pip install aws-sns-slack-subscriber-2.2.0.tar.gz