Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Amplify CLI Deep Dive - AWSDevDay 2020

Jaga
October 21, 2020

Amplify CLI Deep Dive - AWSDevDay 2020

Jaga

October 21, 2020
Tweet

More Decks by Jaga

Other Decks in Technology

Transcript

  1. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    Amplify CLI Deep Dive
    Jaga (Daisuke Nagayama) @jagaimogmog
    Amazon Web Services Japan
    Startup Solutions Architect
    F - 7

    View full-size slide

  2. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    G
    • AWS Amplify?Amplify CLI 6A
    =
    • ?Amplify CLI 4IC; <8
    :=
    C
    • Amplify CLI H>-!$0 GD
    E9
    • Amplify CLIGit Hub Issue+#)%*(.257@F

    View full-size slide

  3. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    Agenda
    1. Amplify CLI'"-!$0
    2. amplify/backend+#1&,/3B
    3. ( - (
    4. 5 ) -
    . -

    View full-size slide

  4. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with

    a 2 @ 2 4
    2 @ 6 A@ 9@ ln a.2C2 4 A Lc G a
    ) I tp e
    u L a S L L Gyo I
    L Oib Lc
    ) a dG ln i c
    ) u L a c

    View full-size slide

  5. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    1.Amplify CLI

    2. amplify/backend+#1&,/3B
    3. ( - (
    4. 5 ) -
    . -

    View full-size slide

  6. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AD : B GphS e du
    IU TQNa
    • 2U TQNa 4 y t
    • “w m ” z nu
    M W R
    • 2U TQNa 4 s z u
    • ”
    o
    OQ QOVW M
    • 2U TQNasOQ r nw ” z n

    • s n “

    View full-size slide

  7. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    G BC
    • j s r g
    2U TQNa 4WV WTM 4 45
    n “OQ QOVW My
    • z g MIU$ W QLM $QVNW R WVk
    l“ OQ QOVW M n
    sg j
    “ OQ QOVW M w s
    • ” z nrg
    j j tr“
    https://docs.amplify.aws/cli/reference/files

    View full-size slide

  8. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AD : e d
    MV $ TW L$JI SMVL
    • 2FB 2FB 4TW L W UI QWV
    • IU TQNa P IU TQNa I
    WVNQO
    • j
    JI SMVL
    • 4TW L W UI QWV j “{ z g
    t

    View full-size slide

  9. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    G A D C B:C FCB
    MV x s
    t
    4TW L W UI QWV B I S
    2U TQNa 4WV WTM 2 L • 2U TQNa j ”
    • 2A p> 54 5# BM M n t g
    OQ QOVW Ms
    • g MV v z“
    IU TQNa TT ”

    View full-size slide

  10. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    FCB - G - Fk
    • ), TIO“ z
    • 2U TQNa 4 i g j
    s
    • AMTMI M. s
    • MI M. n
    • 6 M QUMV IT.
    • i j j

    • “ MI M TIO p
    https://docs.amplify.aws/cli/reference/feature-flags

    View full-size slide

  11. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AD : $ CB:
    .
    . .
    - / .
    • MV WNQTM “TW IT$I_ $QVNW R WV
    • “ g IU TQNa WVNQO M ”
    • WRM $ WVNQO R WV OQ h ) “ x

    View full-size slide

  12. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    ) 2 C -C A G CB
    ( 2L ) E A C B
    • j “ t j ” :B> G2< j
    • “ u y 2FB j
    • 2U TQNa 4 “2FB 4TW L W UI QWV” zg j i i ” o
    /
    pD U lu U t /
    2 / 2
    /
    /


    View full-size slide

  13. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    faeL Sl
    L / /
    UW S pD UF c P
    UW S y / B enCE
    Rd d A
    o i UW S p mA T n rK a
    W 2 / L T A

    View full-size slide

  14. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    )AD : S C -C A G CB 2G

    View full-size slide

  15. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    1. Amplify CLI'"-!$0
    2. amplify/backend
    3. ( - (
    4. 5 ) -
    . -

    View full-size slide

  16. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AD : D hS AD : $ B
    • IU TQNa ILL I Q I P ”
    8 I P@ 2 ” z
    • JI SMVL I Q I P
    n x s
    • N V QWV o s j ”
    w m g g
    j j s
    • j “4TW L W UI QWV
    j g4TW L W UI QWV j
    ” z I IUM M R WVs

    View full-size slide

  17. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AD : $ B $ B CB: FCB
    • IU TQNa ILL N V QWV 8 I P@ 2 ”
    N V QWV” z
    • j ”
    s
    • LM MVL >V j j” w g
    j > 2 QJ M

    • 4 WU 4TW L W UI QWV B I S ” o
    t zgOQ

    View full-size slide

  18. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AD : $ B $ AD : A G FCB
    • 8Q “ }g
    4
    • > “ r
    j ” 8 I P@ 2

    View full-size slide

  19. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    T ( : B G CB d St gj
    • 4TW L W UI QWV “ g I IUM M ”
    w s tgB I S
    • IU TQNa P g/ I MOW a0/ M W M$
    VIUM0/ I IUM M $VIUM0 noSMa g
    2U TQNa 4 sLM MVL >V z
    ” t
    • IU TQNa LI M I Q
    j ” ”
    z u g “ z
    u n

    View full-size slide

  20. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    T ( AD : A G FCBS :C ):G

    View full-size slide

  21. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AD : $ B $G F FCB 1 FC 3 B
    • )- y 2FB j
    v

    n
    • IO R WV w

    • c WRM $MV d c WRM $VIUMd “
    IU TQNa P y
    • )- j y
    g IO R WV ”
    sm
    IU TQNa P

    View full-size slide

  22. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    1. Amplify CLI'"-!$0
    2. amplify/backend+#1&,/3B
    3. - ( ) (
    4. 5 ) -
    . -

    View full-size slide

  23. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    D . D / S e dum
    PMUI O I PYT j
    • 2U TQNa 8 I P@ 2 ”
    • 8 I P@ 2 “w y
    M WT M
    • j” j
    EC ” u
    J QTL
    • OQ QOVW My q g IU TQNa UW S I Q
    IU TQNa P 2U TQNa 4 s
    • BM Q M PMUI O I PYT” g2 BaV
    o PMUI O I PYT g1UWLMT”
    4AD5 M WT M ”

    View full-size slide

  24. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    D . D / SD A G F FCB
    5aVIUW5 QTTQVO• j ”
    e A>E B > 65f
    j rg
    f 2G 6A A6@D6BCf
    j s
    • “f 2G 6A A6@D6BCf
    6TI Q BMI P V IV MCa M
    • 1 MI PIJTM z
    2UIbWV 6TI Q MI P BM Q M
    https://docs.amplify.aws/cli/graphql-transformer/config-params

    View full-size slide

  25. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    )AD : G FGC
    • AWS re:Invent 2019 AI(,!'*"$&/) (IOS/Android/Web)
    #%0$-/..
    • '+6JEC?.*./&*.9N
    6JH
    • .*.8;7#/ =:<D5@B & G1(/
    • Amplify Datastore GraphQL +LO 4QAKM
    >P2. /&/ AWS AppSync 3F
    "!
    #$
    &


    #


    AWS AppSync
    GraphQL %
    https://docs.amplify.aws/lib/datastore/getting-started/q/platform/js

    View full-size slide

  26. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    G BF:C A CB: FCB

    View full-size slide

  27. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    3 DF( AD : $AC G
    • IU TQNa UW S y j t
    • p IU TQNa UW S I Q s 5aVIUW5
    W IT j “UW S$
    LI I LaVIUWLJ NISM $NISM$( LJ
    • 1SMa g j
    n j s5 m g js w
    • “UW S NISM $NISM$( LJ
    ” w g

    View full-size slide

  28. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    1. Amplify CLI'"-!$0
    2. amplify/backend+#1&,/3B
    3. ( - (
    4.
    . -

    View full-size slide

  29. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AD : $ B $: B G CB
    IU TQNa I M
    • 2U TQNa 4 s j
    h8Q “
    LQ
    • IUJLI
    ” z bQ t
    I IUM M R WV
    • 4TW L W UI QWV t j
    • IUJLI j
    t
    https://docs.amplify.aws/cli/graphql-transformer/config-params

    View full-size slide

  30. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    3 DF( D A G F FCBQ vsnWy
    MV j
    • I IUM M R WV t w g
    4TW L W UI QWV
    • MV x j ” n n
    “ MIU$ W QLM $QVNW R WV”
    Recurring function: https://docs.amplify.aws/cli/function#schedule-recurring-lambda-functions

    View full-size slide

  31. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    3 DF( D A G F FCBQ vsnWy

    View full-size slide

  32. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    3 DF( D A G F FCBQ vsnWy

    View full-size slide

  33. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    3 DF( B rS cbL Soi
    n
    • MIU$ W QLM $QVNW R WV MV
    j ”
    • MIU$ W QLM $QVNW R WV
    I IUM M R WV { j j
    s y g MIU$ W QLM $
    QVNW R WV s y
    • IU TQNa TT IU TQNa MV PM SW g
    IU TQNa WV WTM “
    t p j “ y n g
    MIU$ W QLM $QVNW R WV”OQ
    sm
    https://github.com/aws-amplify/amplify-cli/issues/3240#issuecomment-577832717

    View full-size slide

  34. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    3 DF( B rS cbL Soi
    n
    • 2FB Ba MU MV ” SMa
    j ”
    • 4TW L W UI QWV j
    M WT M. U ”
    https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html

    View full-size slide

  35. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    3 DF( B rS cbL Soi
    1 78 02 1: - 4 8 4732/ 4732/ -32 288:.8 288:.- 44.5 #

    View full-size slide

  36. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    1. Amplify CLI'"-!$0
    2. amplify/backend+#1&,/3B
    3. ( - (
    4. 5 ) -

    View full-size slide

  37. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    TR
    • f L s L L a A -@@ 6 H
    • x v ibG mwr v f LJa
    • ) /-j t ) n jH

    View full-size slide

  38. Thank you!
    © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    Jaga (Daisuke Nagayama)
    Twitter@jagaimogmog

    View full-size slide