Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Amplifyの紹介/amplify-introduction
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
howyi
May 03, 2019
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Amplifyの紹介/amplify-introduction
howyi
May 03, 2019
More Decks by howyi
See All by howyi
Go+gRPCで作った次世代店舗の裏側
howyi
1
1.7k
GraphQLを活用するツールやライブラリ / graphql-libraries
howyi
0
110
GraphQLの紹介 / graphql-introduction
howyi
0
96
サーバレスアーキテクチャでSlackBotを作る / serverless-slackbot
howyi
0
92
AWS認定を受けた話 / AWS CERTIFIED
howyi
0
99
自作PHPライブラリをリファクタリングした / Refactoring library
howyi
0
140
PhpStormの設定晒す / Customizing PhpStorm
howyi
0
130
ClickUpで始める進捗管理 / ClickUp
howyi
0
540
Other Decks in Programming
See All in Programming
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
390
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
ジョジョの世界をXRで再現する
mofurune
0
130
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
480
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
130
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
700
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
160
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
260
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
340
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.4k
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
130
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
190
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
The Pragmatic Product Professional
lauravandoore
37
7.5k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
590
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Designing for Timeless Needs
cassininazir
1
520
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
390
Heart Work Chapter 1 - Part 1
lfama
PRO
10
36k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Prompt Engineering for Job Search
mfonobong
0
480
Become a Pro
speakerdeck
PRO
31
6.3k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
460
Transcript
AWS Amplifyͷհ
ͳΜͰ͔͢͜Ε ެࣜ Q&A ΑΓ
None
ͳΜͰ͔͢͜Ε •ࣗಈσϓϩΠɺڥཧΛߦ͏Amplifyίϯιʔϧ •AWSͷ֤αʔόϨεܥαʔϏεͱ࿈ܞ͢ΔAmplify CLI •AWSͱ࿈ܞ͢ΔϑϩϯτͷߏஙΛָʹ͢ΔJSϥΠϒϥϦaws-amplify •࣮ػςετΛཧ͢ΔAWS Device Farm …Ͱߏ͞ΕΔαʔόϨεߏஙϑϨʔϜϫʔΫʢͱ͍͏ղऍʣ
ͳΜͰ͔͢͜Ε •ࣗಈσϓϩΠɺڥཧΛߦ͏Amplifyίϯιʔϧ •AWSͷ֤αʔόϨεܥαʔϏεͱ࿈ܞ͢ΔAmplify CLI •AWSͱ࿈ܞ͢ΔϑϩϯτͷߏஙΛָʹ͢ΔJSϥΠϒϥϦaws-amplify •࣮ػςετΛཧ͢ΔAWS Device Farm …Ͱߏ͞ΕΔαʔόϨεߏஙϑϨʔϜϫʔΫʢͱ͍͏ղऍʣ
Amplify CLI $ npm install -g @aws-amplify/cli $ amplify configure
$ amplify init •amplifyίϚϯυͷॳظԽΛߦ͏ •Ξοϓϩʔυʹ༻͢ΔΞΧϯτͷׂɺڥ໊ͷઃఆ
$ amplify add {ػೳ໊} •ػೳ໊ʹඥͮ͘αʔϏεͷܗΛੜ͢Δ •ফ͢ͱ͖ $ amplify delete •ػೳผʹίϚϯυ͋Δ
$ amplify {ػೳ໊} {ίϚϯυ}
Amplify CLIͷओཁػೳ
$ amplify push
Amplify CLIΛ༻͍ͨ։ൃͷྲྀΕ •αʔϏεͷઃఆCLI͔Βamplify add {ػೳ໊}ͰՃ͢Δ •ઃఆͯ͢ίʔυ্Ͱཧ͞ΕɺڥมΛ༻͍ͨෳ ਓͰͷ։ൃαϙʔτ •amplify push ͰCloudFormationͷϑΝΠϧΛੜ͠ɺߋ৽
ͷ͋ͬͨઃఆΛAWS্ө
LambdaΛͬͨAPIαʔόΛ࡞Δ •amplify add function •ExpressͷίʔυΛੜ͢ΔઃఆΛબ •amplify add api → API
Gateway Λબ •add functionͰՃͨ͠lambdaͱ݁߹͢ΔΑ͏ʹઃఆ •amplify push •APIαʔόΛpush →
ಈ͘API͕͙͢࡞Εͯศར
AppSyncΛར༻ͨ͠APIαʔόΛߏங͢Δ •amplify add api → AppSync Λબ •GraphQLͷDirectiveΛ׆༻ͨ͠ଞαʔϏεͱͷ࿈ܞ͕Մೳ
AppSyncͷGraphQL Transform type Blog @model { id: ID! name: String!
posts: [Post] @connection(name: "BlogPosts") } type Post @model { id: ID! title: String! blog: Blog @connection(name: "BlogPosts") comments: [Comment] @connection(name: "PostComments") } type Comment @model { id: ID! content: String post: Post @connection(name: "PostComments") } ϦϨʔγϣϯͷఆٛ @modelΛ͚ͭΔͱDynamoDBͷςʔϒϧͱͳΔ
AppSyncͷGraphQL Transform type Blog @model { id: ID! name: String!
posts: [Post] } $ amplify gql-compile type Blog { id: ID! name: String! posts: [Post] } type Query { getBlog(id: ID!): Blog } Type Mutation { createBlog(input: CreateBlogI updateBlog(input: CreateBlogI deleteBlog(input: CreateBlogI } CRUDૢ࡞ͷQueryɺMutation ͦΕʹඥͮ͘ResolverΛࣗಈੜ ͦͷଞʹListऔಘͷQuery SubscriptionͳͲ͕ࣗಈൃߦ͞ΕΔ
ΣϒαʔϏε͕͙͢࡞Εͯศར
੩తαΠτΛϗεςΟϯά͢Δ •amplifty add hosting •amplify publish ͰϏϧυˠՌΛS3 ͷ੩తαΠτϗεςΟϯάΞοϓϩʔυ •ϏϧυखॱɺϏϧυઌมߋՄೳ
੩తαΠτΛϗεςΟϯά͢Δ •JSϥΠϒϥϦͷaws-amplifyΛ༻͢Δ͜ͱͰɺೝূͷ؆ུԽ •GraphQL͔ΒAPIͷΫϥε(JS, TS)͕ࣗಈੜ͞Εɺݺͼग़ͩ͢ ͚ͰAPI͕࣮ߦՄೳ
੩తαΠτΛϗεςΟϯά͢Δ •Amplifyͷίϯιʔϧ(AWS্)͔ΒɺυϝΠϯBASICೝূ ઃఆΛೖΕΔ͜ͱ͕Մೳ •ϒϥϯνͱରԠ͚ͮɺpushʹϑοΫͯ͠ߋ৽
ΣϒαΠτ͕͙͢࡞Εͯศར
ଞʹ͍Ζ͍Ζͳػೳ͕͋Γ·͢