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
36
Payment Records API を使って地域通貨を Stripe Dashboard に統合してみた
acomagu
0
80
Restate x Stripe: 安心して眠れる決済システムを目指して
acomagu
0
27
Stripe SSoT をするべきか否か
acomagu
0
96
JP_Stripes: リコンサイル(突合処理)のテスト
acomagu
0
140
「境界付けられたコンテキスト間の関係」についてもっと語ろう
acomagu
0
200
地方 MaaS 事例: アプリの進化に伴って変化してきた Stripe 利用方法
acomagu
0
690
Stripe リコンサイルの勘所
acomagu
0
560
CDK 一発で全てのエラーログを Slack に流す
acomagu
0
2.3k
Other Decks in Technology
See All in Technology
AI Made Us Faster at Solving the Wrong Problems
marceloancelmo
0
160
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
4
1k
インバスケット試験対策アプリを 作って見えたAIエージェント構築 ナレッジ2選
shichijoyuhi
1
130
Codex概要
ymiya55
0
410
全人類(ほぼ)AWS Organizations の上でAWSを利用している、その世界を知る話
htan
0
110
1万名の社員が使う認証基盤で どう信頼性を担保するか?
kairim0
0
210
ファミコンでPHPを動かす / PHP on the Famicom side b
tomzoh
0
140
オブザーバビリティを高める AI エージェント体験を考える / Designing AI Agent Experiences That Enhance Observability
aoto
PRO
2
310
Claude起点の仕様駆動開発
tanakaseiya
0
390
「とりあえず動く」の先へ。 AI時代のチーム開発と内部設計/2026-slsdays
slsops
0
150
[2026 Oracle Technical Deep Dive] AI時代のデータベース基盤をどう選ぶ? Exadata Database Serviceの選択肢と使い分け (2026年9月17日開催)
oracle4engineer
PRO
0
220
More Freedom on the Same Shared GPU Cluster: A Small Team’s Experience with vCluster
nttcom
0
140
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Designing Experiences People Love
moore
143
24k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Bash Introduction
62gerente
615
220k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Automating Front-end Workflow
addyosmani
1369
210k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
The browser strikes back
jonoalderson
0
1.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
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 でいい感じに使うラッパがあります - ぐぐらびりてぃが低すぎる
ありがとうございました