SkillAgentSearch skills...

Iotslackbutton

An AWS lambda handler that sends a slack message when the AWS IoT button is pressed.

Install / Use

/learn @kn/Iotslackbutton
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

AWS IoT Slack Button

An AWS lambda handler that sends a slack message when the AWS IoT button is pressed.

How to use

  1. Install packages: . install.sh
  2. Package python codes into a zip file: . package.sh
  3. Setup AWS Lambda for the AWS IoT button.
  4. Upload package.zip file to AWS Lambda.
  5. Set AWS Lambda environment variables:
SLACK_TOKEN ... an encrypted slack token using KMS.
CHANNEL ... a name of slack channel to where you want to send a message, e.g. "#test".
MSG ... a message you want to send when button is pressed.
USER_NAME ... a user name you want to set as a sender.
View on GitHub
GitHub Stars21
CategoryDevelopment
Updated5y ago
Forks3

Languages

Python

Security Score

60/100

Audited on Aug 8, 2020

No findings