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

AWS Amplify 実践編 #AWSDevDay / Practical AWS Amplify at AWS Dev Day 2020

Jaga
October 20, 2020

AWS Amplify 実践編 #AWSDevDay / Practical AWS Amplify at AWS Dev Day 2020

Jaga

October 20, 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
    Jaga (Daisuke Nagayama) @jagaimogmog
    Amazon Web Services Japan
    Startup Solutions Architect
    B - 1

    View full-size slide

  2. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    !#,)654

    AWS Amplify7%
    • AWS Amplify/20( +.
    !#&
    • AWS Amplify$ 93'
    • AWS Amplify '1 :893
    Tips
    • API (GraphQL)
    • Functions
    • Amplify Mocking
    • AWS Amplify -*"

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  5. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    H GE T HPGOE AIQ f u ar
    : D N :
    N m eosr dg
    Wk ah
    : D N A CG L
    N m U
    : D N G L
    e W N m
    - . . -: . . - . :. .
    ( )
    -
    A
    A
    JK
    -
    A
    A
    YZM
    -
    A
    A
    UJ

    View full-size slide

  6. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AIQg
    N a D G KGD
    k f (1e
    D G KGD m
    k Pbe N a kV
    m N e h
    - . . -: . . - . :. .
    ( )

    View full-size slide

  7. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AIQ w
    d u a
    1S ROL d
    eJKYOM ($$f i d s a
    eJKYOM (f OZ
    u K
    U K k
    r w d
    - ? / / . : :. : . . - - : -
    ( )

    View full-size slide

  8. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AIQf u
    1S ROL q K o p
    d d u
    p na h s u p l
    l
    i l un
    - ? / / . : :. : . . - =

    View full-size slide

  9. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    PGG ALPANO MAQEARN f u
    - ? . : :. . -
    @ RR BK KYZ @ K OK Y u a
    @ RR BK KYZ l r w
    sw DB< OZ H @ RR
    BK KYZ d v
    @ RR BK KYZ dl a
    d u
    p l
    @ RR BK KYZ l tw
    j

    View full-size slide

  10. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    AQAG AM .S AMEAI Au hth



    View full-size slide

  11. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    vyx g
    / /
    -
    -
    /
    AWS Organizations
    (
    - )
    /

    View full-size slide

  12. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    / /
    -
    -
    /
    (
    - )
    AWS Organizations
    https://aws.amazon.com/jp/organizations/
    vyx g
    /

    View full-size slide

  13. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    / /
    -
    -
    /
    AWS Organizations
    (
    - )
    https://aws.amazon.com/jp/single-sign-on/
    vyx g
    /

    View full-size slide

  14. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    / /
    -
    -
    /
    AWS Organizations
    (
    - )
    https://aws.amazon.com/jp/amplify/console/
    vyx g
    /

    View full-size slide

  15. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    / /
    -
    -
    /
    AWS Organizations
    (
    - )
    https://docs.aws.amazon.com/ja_jp/IAM/latest/UserGuide/id_roles_use.html
    vyx g
    /

    View full-size slide

  16. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    / /
    -
    -
    /
    AWS Organizations
    (
    - )
    https://docs.aws.amazon.com/ja_jp/organizations/latest/userguide/orgs_manage_policies_scp.html
    vyx g
    /

    View full-size slide

  17. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    / /
    -
    -
    /
    AWS Organizations
    (
    - )
    vyx g
    /

    View full-size slide

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

    View full-size slide

  19. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    2 g u mh
    I@E AMAIOE OA@ 1A QT 3E OEIC
    2.

    View full-size slide

  20. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    2 M D 3
    • 2. s u : A f 5 5 a l 2. m
    • : A vS S f PK A : a KGDN nq m
    • 2. : A s u m T a d W
    Amazon Cognito
    AB

    View full-size slide

  21. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    h EMA OEQA u ar
    ) G D eiTdPK A : @ :AID
    nq d p t p m k
    a Rc m : A 2.d
    k aW
    yt f m
    • ) G D
    • ): LA
    • )C
    • )K : A: D
    • ) L G

    View full-size slide

  22. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    EMA OEQA # H @AG
    2GKL S e
    , eK A : KGDN e
    https://docs.amplify.aws/cli/graphql-transformer/directives#model

    View full-size slide

  23. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    m ( H @AG arN DAH CM DLG
    https://docs.amplify.aws/cli/graphql-transformer/directives#model

    View full-size slide

  24. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    m ( H @AG arMAN GQAMN
    https://docs.amplify.aws/cli/graphql-transformer/directives#model

    View full-size slide

  25. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    EMA OEQA FAT
    2/$5/e Q 5.e
    $ KGDN e
    https://docs.amplify.aws/cli/graphql-transformer/directives#key

    View full-size slide

  26. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    EMA OEQA FAT
    K OKRJ s h0QK ROYZ@UYZY
    0SUJKR sw BD j u
    p l
    • @G ZOZOU K - U MG O GZOU J
    • CU Z K - I KGZKJ1Z
    K OKRJ sw0QK aROYZ@UYZY
    d hwA K u p l
    • @G ZOZOU K - U K
    • CU Z K - I KGZKJ1Z
    • - ROYZ2 K
    • K - ROYZ@UYZY2 K
    https://docs.amplify.aws/cli/graphql-transformer/directives#key

    View full-size slide

  27. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    EMA OEQA POD
    tm KGDN d
    https://docs.amplify.aws/cli/graphql-transformer/directives#auth

    View full-size slide

  28. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    • GRRU - U K M U Y O GZK HROI
    • U OJK - G O K OGS UOJI YK @UURY
    • U K GZOU Y- I KGZK JGZK JKRKZK KGJ
    • OKRJ 1SG U UM OZU DYK @UUR d d
    z r w
    d d sa d d d
    s G NA< 1@
    u d
    EMA OEQA POD
    https://docs.amplify.aws/cli/graphql-transformer/directives#auth

    View full-size slide

  29. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    EMA OEQA NA M D GA
    ) 2I P F PB Eu k1T JL1/ B JP J A
    ( .J L 2I P F PB E B SF Bv
    2I P F PB E P EBJ BPLISB v
    https://docs.amplify.aws/cli/graphql-transformer/directives#searchable

    View full-size slide

  30. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    0YKG INGHRK o 5RGYZOIYKG IN
    sw l
    CKG IN.Z K / hi A K s
    1SG U 5RGYZOIYKG IN CK OIK
    GSU 2 CZ KGSY
    0YKG INGHRK ow d sk m
    h
    EMA OEQA NA M D GA
    https://docs.amplify.aws/cli/graphql-transformer/directives#searchable

    View full-size slide

  31. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    EMA OEQA PI OE I
    https://docs.amplify.aws/cli/graphql-transformer/directives#function

    View full-size slide

  32. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    GS ROL GJJ L IZOU sws
    K o p
    0L IZOU s a
    u p l G ZNU O K s k
    GJJ USSK Z u
    EMA OEQA PI OE I
    https://docs.amplify.aws/cli/graphql-transformer/directives#function

    View full-size slide

  33. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    a G NA< d
    sw l r h
    EMA OEQA PI OE I
    https://docs.amplify.aws/cli/graphql-transformer/directives#function

    View full-size slide

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

    View full-size slide

  35. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    w i T A: ME O PEG@u f pbr
    * S GS ROL -.L IZOU & GSK/
    FO
    . J A
    . .JMIFCT
    https://docs.amplify.aws/cli/function/build-options

    View full-size slide

  36. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    • >UJK PY @ ZNU
    • * • 1S ROL < sw https://docs.amplify.aws/cli/function/layers

    View full-size slide

  37. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    https://docs.amplify.aws/cli/function/layers

    View full-size slide

  38. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    i –ar3 H @
    https://aws.amazon.com/blogs/mobile/how-to-schedule-recurring-lambda-functions-using-the-amplify-cli/

    View full-size slide

  39. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    3 H @ MECCAM

    View full-size slide

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

    View full-size slide

  41. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    2 u arik
    P EBJ D MENI
    GS ROL YN
    d
    m s
    d
    . 0ILRA3L J FL
    P

    View full-size slide

  42. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    H GE T 32 U 4 F HH I@N
    - A
    - A -
    - A < -
    - A > > -
    - . . -: . . - . : #/ . .

    View full-size slide

  43. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    2 4 FEIC #
    - - < - PM
    • YINKSG M G N Rk
    • 1 C I u YINKSG KYUR K Y ZKS RGZK
    • k G NA< u i:G GCI O Z d
    $ -B A - - LD
    • d GS ROL (SUIQ&JGZG(LGQK&$$$$ JH CA• d YIUJK&Y ROZK b
    - A - E G
    - ? / . . . - - . .

    View full-size slide

  44. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    2 4 FEIC
    $ A -
    LD
    • K G N M G NO R&K RU K
    d
    • NZZ -((RUIGRNUYZ- ))) y
    • A K ZGZOU C HYI O ZOU
    d
    • D JGZK 1 ZN 1@ G NA<
    1SG U UM OZU DYK
    @UUR( (1@ 5E( 1
    j
    - A - E G
    - ? / . . . - - . .

    View full-size slide

  45. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    2 4 FEIC
    - / LD
    - < < Q
    • 1S ROL GSK U Q a1S ROL < k m
    r G Y&K U ZY i
    • GS ROL SUIQ G O s xoaSUIQl
    d u
    - A - E G
    - ? / . . . - - . .

    View full-size slide

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

    View full-size slide

  47. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    g
    C>C
    d
    d

    View full-size slide

  48. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    PODf:5: u n nc #
    - . . -: . / : - . . : - - :.

    View full-size slide

  49. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    PODf:5: u n nc
    - . . -: . / : - . . : - - :.

    View full-size slide

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


    gg

    m d
    KZI d

    b
    d d
    $ -B
    d
    m
    e cf


    q
    $ amplify add analytics
    https://speakerdeck.com/jaguar_imo/startup-fm-amazon-pinpoint

    View full-size slide

  51. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    v p psc u c
    $ - A <


    .J L 1T JL1/
    . .MM T
    MR F BJ
    . J A
    1T JL1/
    B JP
    - ? / . . - .
    . .JMIFCT

    View full-size slide

  52. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    PNO H G P@ MH OE I :O FN
    B A L CFD PL u – v d
    0ILRA3L J FL BJMI B u p – k
    B S jWB S qv – v e
    - . . -: . . - . :. #/ : : .

    View full-size slide

  53. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    E N( i e r g
    Amazon Cognito
    AB
    . .JMIFCT
    Amazon Elastic
    Container Service
    Amazon SageMaker Amazon Redshift
    AWS Cloud
    1BSBILMJB Kit
    D
    Amazon Aurora

    View full-size slide

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

    View full-size slide

  55. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    ( H GE Tu f der qc
    Amplify Meetup #01 cJmSx
    AmplifyM] sbWt15Tnzyo>DIEDg^(*.74=;0.*/?BV_ UC |KDDIYQ@e}
    Amplify Console3;0pdSlackG
    Fjr vK |YQ@eJustInCaseTechnologies}
    aRN AmplifyH_ fZ|6,Amplify OlLukOX \ |1 ;YQ@e}
    AmplifyAPI[iAwTipsTaewoo Kim|#7.!} |$:*8+-0YQ@e}
    AWS AmplifyAh
    ^`mP {q |3=7&<';.<%YQ@e}
    https://aws.amazon.com/jp/blogs/news/amplify-meetup-01/
    https://aws-amplify-jp.connpass.com/

    View full-size slide

  56. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    ( H GE Tf u u de lc
    W MN : b
    sy @
    : O
    @
    : , M
    l bk rS
    iCv OS @ A
    S
    https://amplify-sns.workshop.aws/ja/

    View full-size slide

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

    View full-size slide

  58. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
    In Partnership with
    mgo
    @ O So p
    • @ A @ :
    • S
    @ N S
    • @ : ,
    • @
    @ eny
    • O T
    • aghuC cCfw m C T
    • T
    • @OdtCm N SdC g @O

    View full-size slide

  59. 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