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
API Gateway HTTP API について
Search
acomagu
April 24, 2020
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
API Gateway HTTP API について
acomagu
April 24, 2020
More Decks by acomagu
See All by acomagu
サーバーレスから Durable Execution へ
acomagu
0
45
Payment Records API を使って地域通貨を Stripe Dashboard に統合してみた
acomagu
0
86
Restate x Stripe: 安心して眠れる決済システムを目指して
acomagu
0
29
Stripe SSoT をするべきか否か
acomagu
0
99
JP_Stripes: リコンサイル(突合処理)のテスト
acomagu
0
140
「境界付けられたコンテキスト間の関係」についてもっと語ろう
acomagu
0
210
地方 MaaS 事例: アプリの進化に伴って変化してきた Stripe 利用方法
acomagu
0
710
Stripe リコンサイルの勘所
acomagu
0
570
CDK 一発で全てのエラーログを Slack に流す
acomagu
0
2.3k
Other Decks in Technology
See All in Technology
AI秘書と毎日働くのはもう当たり前。開発以外の業務に足りない機能をどう埋める?
minorun365
PRO
4
2k
キヨさん67歳 AIコーディングエージェント物語
happysamurai294
0
140
AIコーディングはじめました
miso
0
110
書き手が人でもAIでも正しくなる道、SREを埋め込んだDeveloper Platform / tech drivers day8
chmikata
4
870
クラウドエージェントの先駆け Devin。今も最先端を走る、他との違い
kinopeee
1
520
reInvent2026stby LT00 "Change your life!"
shinichirokawano
1
500
Autonomous AI Lakehouse - Live AI Hubから始めるセキュアなAIデータ活用 -
oracle4engineer
PRO
2
180
AI Search (Foundry IQ) におけるRAGデータの準備と配置
ryomaru0825
1
110
Oracle Database Security 詳細解説
oracle4engineer
PRO
1
180
Claude for Google Workspaces ポン出し/claude-for-google-workspace-slide-conversion
emiki
0
13k
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
0
160
Obsidian Vault Architectures
x5gtrn
PRO
0
230
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
510
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Typedesign – Prime Four
hannesfritz
42
3.2k
The SEO Collaboration Effect
kristinabergwall1
1
610
Prompt Engineering for Job Search
mfonobong
0
570
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
290
Transcript
HTTP API について 200424 Y会 @acomagu
2020 3月 GA!
HTTP API とは API Gateway REST API の再定義 REST API
から減った機能と増えた機能がある(だいたい減ってる)
REST API から減った機能 認証: - Lambda カスタム Authorizer - IAM
Authorizer - API キー 統合: - プロキシじゃない統合 - モック統合
REST API から減った機能 その他: - TLS 1.0 - キャッシュ -
リクエスト変換/マッピング - エッジ最適化 API
Before
After
じゃあ何の機能があるの? - HTTP プロキシ統合 - Lambda プロキシ統合 - TLS 2.0
- リージョン別 API
じゃあ何の機能があるの? - HTTP プロキシ統合 - Lambda プロキシ統合 - TLS 2.0
- リージョン別 API - JWT Authorizer - CORS - 自動デプロイ - デフォルトステージ
JWT Authorizer - JWT の検証と Audience の確認をしてくれる Authorizer - そのまま
OIDC/OAuth2 の Access Token や ID Token の検証に使える! - Auth0 の設定がガチ簡単に - (今までカスタム Lambda 関数を作成する必要があったが...)
←ヘッダ名 ←Auth0 Domain ←Auth0 ClientID
CORS REST API の CORS 機能は、プロキシ統合を利用している場合プリフライトリクエストに しか対応できなかった (例えば Lambda 関数内で
access-control-allow-origin 等を設定する必要 があった)
CORS HTTP API では Lambda プロキシ統合のレスポンスにもヘッダを自動で付与できるよう になった
自動デプロイ オンにすると API Gateway の設定を変更したときに自動でデプロイされる
デフォルトステージ “$default” という名前のステージを作ると URL の /prod/ を消せる
神
HTTP API のよくないところ - AWS CDK の High Level Construct
に対応していない - serverless の対応はわからない、sam はいい感じらしい - nexto-store のリポジトリに CDK でいい感じに使うラッパがあります - ぐぐらびりてぃが低すぎる
ありがとうございました