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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
howyi
June 07, 2019
Programming
0
82
サーバレスアーキテクチャでSlackBotを作る / serverless-slackbot
howyi
June 07, 2019
Tweet
Share
More Decks by howyi
See All by howyi
Go+gRPCで作った次世代店舗の裏側
howyi
1
1.6k
GraphQLを活用するツールやライブラリ / graphql-libraries
howyi
0
110
GraphQLの紹介 / graphql-introduction
howyi
0
79
Amplifyの紹介/amplify-introduction
howyi
0
93
AWS認定を受けた話 / AWS CERTIFIED
howyi
0
86
自作PHPライブラリをリファクタリングした / Refactoring library
howyi
0
110
PhpStormの設定晒す / Customizing PhpStorm
howyi
0
110
ClickUpで始める進捗管理 / ClickUp
howyi
0
510
Other Decks in Programming
See All in Programming
CSC307 Lecture 01
javiergs
PRO
0
690
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Package Management Learnings from Homebrew
mikemcquaid
0
210
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
Grafana:建立系統全知視角的捷徑
blueswen
0
330
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
高速開発のためのコード整理術
sutetotanuki
1
390
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
SourceGeneratorのススメ
htkym
0
190
Oxlintはいいぞ
yug1224
5
1.3k
Fluid Templating in TYPO3 14
s2b
0
130
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
Featured
See All Featured
Optimizing for Happiness
mojombo
379
71k
Rails Girls Zürich Keynote
gr2m
96
14k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
930
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
The Invisible Side of Design
smashingmag
302
51k
Paper Plane (Part 1)
katiecoart
PRO
0
4k
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
WCS-LA-2024
lcolladotor
0
450
Leo the Paperboy
mayatellez
4
1.4k
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