Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
サーバレスアーキテクチャでSlackBotを作る / serverless-slackbot
Search
howyi
June 07, 2019
Programming
0
48
サーバレスアーキテクチャでSlackBotを作る / serverless-slackbot
howyi
June 07, 2019
Tweet
Share
More Decks by howyi
See All by howyi
Go+gRPCで作った次世代店舗の裏側
howyi
1
1.3k
GraphQLを活用するツールやライブラリ / graphql-libraries
howyi
0
52
GraphQLの紹介 / graphql-introduction
howyi
0
32
Amplifyの紹介/amplify-introduction
howyi
0
32
AWS認定を受けた話 / AWS CERTIFIED
howyi
0
58
自作PHPライブラリをリファクタリングした / Refactoring library
howyi
0
55
PhpStormの設定晒す / Customizing PhpStorm
howyi
0
57
ClickUpで始める進捗管理 / ClickUp
howyi
0
380
Other Decks in Programming
See All in Programming
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
240
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
920
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
320
Elm Form Validation
bkuhlmann
0
510
⼤規模⾔語モデルの拡張(RAG)が 終わったかも知れない件について
nearme_tech
23
15k
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
240
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
Apache Hive 4 on Treasure Data
ryukobayashi
0
300
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
27
8.3k
Java 22 Overview
kishida
1
180
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
930
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
Done Done
chrislema
178
15k
Build your cross-platform service in a week with App Engine
jlugia
225
17k
Practical Orchestrator
shlominoach
182
9.7k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
241
1.2M
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Docker and Python
trallard
34
2.7k
What the flash - Photography Introduction
edds
64
11k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Being A Developer After 40
akosma
57
580k
Transcript
αʔόϨεΞʔΩςΫνϟͰ SlackBotΛ࡞Δ
ͳͥ࡞͔ͬͨ • Slackͷ࿈ܞػೳΛ࡞Δ্ͰɺͲͷΑ͏ͳ࣮͕ཁΔ͔Λখ͍͞BotΛ࡞Δ͜ ͱͰݕূ͔ͨͬͨ͠ • ͱΓ͋͑ͣAmplifyͰͳΜ͔Γ͔ͨͬͨ
ػೳ SlackͰɺͷReactionΛΒͬͨΛϒϥβ ͔ΒϥϯΩϯάܗࣜͰදࣔ͢Δ
ػೳ SlackBotͰΑ͋͘Δ ʮtokenΛίίʹهࡌ͠·͠ΐ͏ʂʯͱ͍͏ܗ ࣜͷBotͰͳ͘ɺSlackͷ࿈ܞը໘͕ग़ΔλΠ ϓͷSlackBot
ϩάΠϯը໘ aws-amplifyϥΠϒϥϦͷσϑΥϧτ͔Βશ͘มߋͳ͠
ϥϯΩϯάը໘
ϥϯΩϯάը໘ ొͨ͠SlackνʔϜ ϥϯΩϯά ΫϦοΫͰSlack࿈ܞը໘
ٕज़
ٕज़
ٕज़ SlackBotͷ client_idΛ֨ೲ Workspaceใ ϥϯΫใΛ֨ೲ ϥϯΩϯάϖʔδͷ ϗεςΟϯά Slack࿈ܞपΓAPI Gateway +
Lambda
ײ • Reactionɺͳ͔ͥଟॏͰདྷΔ͜ͱ͕͋ͬͯࠔΔ • ҰճͷReactionͰ+2͞ΕͨΓ͢Δ • AmplifyͰ৭ʑͰ͖Δ͜ͱ͕Θ͔ͬͨ
ιʔείʔυެ։ͯ͠·͢ https://github.com/howyi/futon