$30 off During Our Annual Pro Sale. View Details »

Slack Boltコース!AWS Lambda & Pythonのビキナー仕立て #devio2022

Slack Boltコース!AWS Lambda & Pythonのビキナー仕立て #devio2022

DevelopersIO 2022 で発表した資料です。

TakaakiKakei

July 19, 2022
Tweet

More Decks by TakaakiKakei

Other Decks in Technology

Transcript

  1.  ΦϖϨʔγϣϯ෦᝛߶জ 4MBDL#PMUίʔεʂ "84-BNCEB1ZUIPOͷ ϏΩφʔ࢓ཱͯ

  2. ࣗݾ঺հ  5BLBBLJ,BLFJ w αʔϏεάϩʔενʔϜ w ϝϯόʔζαʔϏεΛࢧ͑Δ಺੡։ൃΛ୲౰ w "84 ;FOEFTL

    4MBDL1ZUIPO ("4 3FBDU w ϝϯόʔ͸ਓ w "1/"845PQ&OHJOFFS w "1/"MM"84$FSUJ fi DBUJPOT&OHJOFFS IUUQTEFWDMBTTNFUIPEKQBVUIPSLBLFJUBLBBLJ
  3. ηογϣϯςʔϚ  Bolt Λ΋ͬͱ਎ۙʹ

  4. ิ଍  గਖ਼Օॴ΍৽ͨͳؾ෇͖͸ ຊηογϣϯ༻ͷϒϩάʹ௥ه༧ఆ

  5. ΞδΣϯμ   ࠓճ঺հ͢ΔΞϓϦͷσϞ  πʔϧ࿈ܞͱλεΫࣗಈԽͷͭͷखஈ  #PMUGPS1ZUIPOͷجຊͱॻ͖ํ

  6. σϞ  IUUQTHJUIVCDPNUBLBBLJLBLFJ EFWFMPQFSTJPTMBDLCPMUBQQ

  7. 4MBDLͰͷπʔϧ࿈ܞλεΫͷࣗಈԽ  w ίʔσΟϯάͳ͠ w ެ։ΞϓϦ w ϫʔΫϑϩʔϏϧμʔ w ίʔσΟϯά͋Γ

    w ΧελϜΞϓϦ IUUQTTMBDLDPNJOUMKBKQIFMQDBUFHPSJFT
  8. ެ։ΞϓϦ  w 4MBDL"QQσΟϨΫτϦ͔ΒΞ ϓϦΛ௥Ճ w  Ҏ্ͷΞϓϦ͕ଘࡏ w αʔυύʔςΟͷΞϓϦͱ࿈ܞ

    ͍ͨ࣌͠ʹ·ͣνΣοΫ IUUQTTMBDLDPNJOUMKBKQJOUFHSBUJPOT
  9. ϫʔΫϑϩʔϏϧμʔ  IUUQTTMBDLDPNJOUMKBKQIFMQBSUJDMFT w 4MBDL্ͰλεΫΛࣗಈԽ w τϦΨʔͱεςοϓΛ(6*Ͱઃ ఆͯ͠ެ։ w γϯϓϧͳϫʔΫϑϩʔ։ൃʹ

    ͓͢͢Ί
  10. ΧελϜΞϓϦ  w :PVS"QQT͔ΒΞϓϦΛ࡞੒ w 4MBDL"1*Λ࢖ͬͯ࡞ΓࠐΈ w πʔϧ࿈ܞ΍λεΫͷࣗಈԽΛ ॊೈʹՄೳ IUUQTBQJTMBDLDPNBQQT

  11. ΧελϜΞϓϦͷ࿈ܞํ޲  w ୯ํ޲ͷ࿈ܞ w ֎෦αʔϏεˠ4MBDL4MBDLˠ֎෦αʔϏε w ୯७ͳ௨஌΍αʔϏεͷىಈͳͲʹར༻ w ૒ํ޲ͷ࿈ܞ

    ΠϯλϥΫςΟϒ  w ֎෦αʔϏε㲗4MBDL w ΑΓෳࡶͳπʔϧ࿈ܞ΍λεΫͷࣗಈԽʹར༻
  12. ୯ํ޲ͷ࿈ܞʹ͍ͭͯ  IUUQTEFWDMBTTNFUIPEKQBSUJDMFTTFSWFSMFTTGSBNFXPSL TMBDLBQJMBVODI

  13. ૒ํ޲ͷ࿈ܞʹ͍ͭͯ  w ૒ํ޲ͷ࿈ܞʹ͸#PMU͕ศར w #PMU͸4MBDLΞϓϦ։ൃ༻ͷϑϨʔϜϫʔΫ w +BWB4DSJQU +BWB 1ZUIPOͷ4%,Λ഑෍

    IUUQTTMBDLEFWCPMU QZUIPOKBKQDPODFQUTCBTJD
  14.  Slack Bolt ͷ۩ମతͳॻ͖ํΛ ͜Ε͔Βݟ͍͖ͯ·͠ΐ͏ʂ

  15. IBOEMFSͷએݴ 

  16. ࢀߟΫϨσϯγϟϧ৘ใͷϕλॻ͖͸΍ΊΑ͏  IUUQT[FOOEFWU@LBLFJBSUJDMFTCEC

  17. Ϧεφʔؔ਺  w ίϝϯτΞ΢τͷՕॴʹɺ֤Π ϕϯτΛͲ͏ॲཧ͢Δ͔ͷϦε φʔؔ਺Λ௥Ճ w Πϕϯτͷಛఆʹ໾ཱͭϝιο υ͕ଘࡏ w

    Ϧεφʔؔ਺ͷॲཧΛ؆୯ͯ͠ ͘ΕΔҾ਺͕ଘࡏ IUUQTTMBDLEFWCPMUKTKBKQSFGFSFODF
  18. Ϧεφʔؔ਺ʹ౉͢ϝιου  w 4MBDL͔Βड৴͢Δ֤छΠϕϯτ Λॲཧ͢Δϝιου IUUQTTMBDLEFWCPMUKTKBKQSFGFSFODF

  19. Ϧεφʔؔ਺ʹ౉͢ϝιου  BQQFWFOU FWFOU5ZQF GO  &WFOU"1*Πϕϯτ BQQNFTTBHF <QBUUFSO >GO

     .FTTBHFΠϕϯτ BQQBDUJPO BDUJPO*E GO  #MPDL,JUΠϕϯτ BQQTIPSUDVU DBMMCBDL*E GO  γϣʔτΧοτΠϕϯτ BQQWJFX DBMMCBDL*E GO  WJFX@TVCNJTTJPOΠϕϯτ WJFX@DMPTFEΠϕϯτ BQQTUFQ XPSL fl PX4UFQ ϫʔΫϑϩʔεςοϓΠϕϯτ BQQDPNNBOE DPNNBOE/BNF GO  4MBDLίϚϯυΠϕϯτ BQQPQUJPOT BDUJPO*E GO  ֎෦ιʔεͷબ୒ࢶΠϕϯτ IUUQTTMBDLEFWCPMUKTKBKQSFGFSFODF
  20. Ϧεφʔؔ਺ͷҾ਺  w Ϧεφʔؔ਺ͷॲཧΛ؆୯ʹ͠ ͯ͘ΕΔҾ਺ IUUQTTMBDLEFWCPMUKTKBKQSFGFSFODF

  21. Ϧεφʔؔ਺ͷҾ਺  QBZMPBE ૷০෦෼ΛऔΓআ͍ͨΠϕϯτϖΠϩʔυ TBZ ड৴Πϕϯτʹඥͮ͘νϟϯωϧʹ 
 ϝοηʔδૹ৴͢Δؔ਺ BDL ΞϓϦ͕ड৴ΠϕϯτΛड͚औͬͨ͜ͱΛ

    
 ֬ೝ͢ΔͨΊʹݺͼग़͢ඞཁͷ͋Δؔ਺ DMJFOU Πϕϯτʹؔ࿈͚ͮΒΕͨτʔΫϯΛ 
 ࢖༻͢Δ8FC"1*ΫϥΠΞϯτ SFTQPOE ड৴ΠϕϯτʹSFTQPOTF@VSMؚ͕·ΕΔ ৔߹ʹɺड৴ΠϕϯτʹԠ౴Λฦؔ͢਺ DPOUFYU ΠϕϯτͷίϯςΩετ CPEZ ϦΫΤετͷCPEZશମΛ 
 อ࣋͢ΔΦϒδΣΫτ IUUQTTMBDLEFWCPMUKTKBKQSFGFSFODF
  22.  ը໘ͱίʔυΛ ݟൺ΂ͯཧղ͍͖ͯ͠·͠ΐ͏ʂ

  23. ϗʔϜλϒͷදࣔ 

  24. ϗʔϜλϒͷදࣔ  IUUQTTMBDLEFWCPMUQZUIPOKBKQDPODFQUTBQQIPNF w ϝιου!BQQFWFOU  w ϝιουҾ਺ BQQ@IPNF@PQFOE w

    WJFXIPNF@UBC@WJFX 
 ͷ಺༰͸࣍ϖʔδ
  25. ϗʔϜλϒͷදࣔ 

  26. ࢀߟ#MPDL,JU#VJMEFS  IUUQTBQQTMBDLDPNCMPDLLJUCVJMEFS IUUQTRJJUBDPNTFSBUDIJUFNTCFEFFCB

  27. ࢀߟΠϕϯτͷछྨ  IUUQTBQJTMBDLDPNFWFOUT

  28. πʔϧ࣮ߦਃ੥ϘλϯͷԡԼ 

  29. πʔϧ࣮ߦਃ੥ϘλϯͷԡԼ  w ϝιουBQQBDUJPO  w ϝιουҾ਺BDUJPO@JE w -B[ZMJTUFOFSTػೳ w

    BDLͰࢦఆͨؔ͠਺Ͱ 
 Ұ࣌Ϩεϙϯε w MB[ZͰࢦఆͨؔ͠਺Ͱ 
 ࣌ؒͷ͔͔Δॲཧ
  30. ࢀߟ-B[ZMJTUFOFST  IUUQTEFWDMBTTNFUIPEKQBSUJDMFTCPMUMBNCEB IUUQTRJJUBDPNTFSBUDIJUFNTEBDB

  31. πʔϧ࣮ߦਃ੥ϘλϯͷԡԼ 

  32. πʔϧ࣮ߦਃ੥ϘλϯͷԡԼ 

  33. ૹ৴ϘλϯԡԼ 

  34. ૹ৴ϘλϯԡԼ  Ϟʔμϧͷೖྗऔಘ w ϝιου!BQQWJFX  w ϝιουҾ਺DBMMCBDL@JE w ೖྗWJFX<lTUBUF><WBMVFT>

  35. ૹ৴ϘλϯԡԼ  όϦσʔγϣϯ w ਖ਼نදݱ w BDLؔ਺ͰΤϥʔϨεϙϯε IUUQTBQJTMBDLDPNTVSGBDFTNPEBMTVTJOHEJTQMBZJOH@FSSPST

  36. ૹ৴ϘλϯԡԼ  ϝοηʔδૹ৴ w ૊ΈࠐΈͷDMJFOU w DIBU@QPTU.FTTBHF"1* w CMPDLTͷ಺༰͸࣍ϖʔδ

  37. ૹ৴ϘλϯԡԼ  ϝοηʔδૹ৴ w CMPDLTͷ಺༰

  38. ࢀߟϞμʔϧͷ࢖͍ํ  IUUQTRJJUBDPNTFSBUDIJUFNTCEDGBC

  39. "QQSPWFϘλϯԡԼ 

  40. "QQSPWFϘλϯԡԼ  -B[ZMJTUFOFSTػೳ w BDLͰࢦఆͨؔ͠਺Ͱ 
 Ұ࣌Ϩεϙϯε w MB[ZͰࢦఆͨؔ͠਺Ͱ 


    ࣌ؒͷ͔͔Δॲཧ
  41. "QQSPWFϘλϯԡԼ  όϦσʔγϣϯ w ঝೝऀ͕ద੾͔֬ೝ w Τϥʔϝοηʔδ༻ͷϞʔμϧΛදࣔ

  42. "QQSPWFϘλϯԡԼ  πʔϧ࣮ߦ w εςʔτϚγϯىಈ

  43. "QQSPWFϘλϯԡԼ  ࣮ߦϝοηʔδૹ৴ w SFTQPOEؔ਺࣮ߦ

  44. ͍͔͕ͩͬͨͰ͠ΐ͏͔  Boltͷجຊͱॻ͖ํʹ͍ͭͯ ཧղ͕ਂ·Γ·ͨ͠Ͱ͠ΐ͏͔ʂ

  45. ·ͱΊ  w #PMU͸4MBDLΞϓϦ։ൃ༻ͷϑϨʔϜϫʔΫ w BQQdϝιουΛ࢖ͬͯɺΠϕϯτΛಛఆ w ༻ҙ͞ΕͨҾ਺Λ࢖͍ͳ͕ΒɺΠϕϯτΛॲཧ w -B[ZMJTUFOFSTػೳΛ࢖͍ɺ࣌ؒͷ͔͔Δॲཧ

    w #MPDL,JU#VJMEFSΛ࢖ͬͯɺ6*Λ؆୯ʹ૊Έཱͯ
  46. ͓ΘΓʹ  ࠷ޙ·Ͱ͝ࢹௌ͍͖ͨͩ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ

  47. None