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
64
サーバレスアーキテクチャでSlackBotを作る / serverless-slackbot
howyi
June 07, 2019
Tweet
Share
More Decks by howyi
See All by howyi
Go+gRPCで作った次世代店舗の裏側
howyi
1
1.5k
GraphQLを活用するツールやライブラリ / graphql-libraries
howyi
0
85
GraphQLの紹介 / graphql-introduction
howyi
0
59
Amplifyの紹介/amplify-introduction
howyi
0
75
AWS認定を受けた話 / AWS CERTIFIED
howyi
0
82
自作PHPライブラリをリファクタリングした / Refactoring library
howyi
0
98
PhpStormの設定晒す / Customizing PhpStorm
howyi
0
92
ClickUpで始める進捗管理 / ClickUp
howyi
0
480
Other Decks in Programming
See All in Programming
技術同人誌をMCP Serverにしてみた
74th
1
680
ニーリーにおけるプロダクトエンジニア
nealle
0
890
GPUを計算資源として使おう!
primenumber
1
190
Porting a visionOS App to Android XR
akkeylab
0
640
AIプログラマーDevinは PHPerの夢を見るか?
shinyasaita
1
240
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
410
AI時代の『改訂新版 良いコード/悪いコードで学ぶ設計入門』 / ai-good-code-bad-code
minodriven
21
8.8k
AIともっと楽するE2Eテスト
myohei
7
2.9k
「テストは愚直&&網羅的に書くほどよい」という誤解 / Test Smarter, Not Harder
munetoshi
0
190
20250628_非エンジニアがバイブコーディングしてみた
ponponmikankan
0
710
Advanced Micro Frontends: Multi Version/ Framework Scenarios @WAD 2025, Berlin
manfredsteyer
PRO
0
340
Startups on Rails in Past, Present and Future–Irina Nazarova, RailsConf 2025
irinanazarova
0
150
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
69
11k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
107
19k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Speed Design
sergeychernyshev
32
1k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
KATA
mclloyd
30
14k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
980
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
How to Think Like a Performance Engineer
csswizardry
25
1.7k
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