Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
API Gateway HTTP API について
Search
acomagu
April 24, 2020
Technology
0
140
API Gateway HTTP API について
acomagu
April 24, 2020
Tweet
Share
More Decks by acomagu
See All by acomagu
Payment Records API を使って地域通貨を Stripe Dashboard に統合してみた
acomagu
0
41
Restate x Stripe: 安心して眠れる決済システムを目指して
acomagu
0
6
Stripe SSoT をするべきか否か
acomagu
0
61
JP_Stripes: リコンサイル(突合処理)のテスト
acomagu
0
110
「境界付けられたコンテキスト間の関係」についてもっと語ろう
acomagu
0
120
地方 MaaS 事例: アプリの進化に伴って変化してきた Stripe 利用方法
acomagu
0
390
Stripe リコンサイルの勘所
acomagu
0
510
CDK 一発で全てのエラーログを Slack に流す
acomagu
0
2.2k
AWS CDK を支える Constructs について
acomagu
0
180
Other Decks in Technology
See All in Technology
AI with TiDD
shiraji
1
330
Keynoteから見るAWSの頭の中
nrinetcom
PRO
1
160
Introduction to Bill One Development Engineer
sansan33
PRO
0
340
Agentic AIが変革するAWSの開発・運用・セキュリティ ~Frontier Agentsを試してみた~ / Agentic AI transforms AWS development, operations, and security I tried Frontier Agents
yuj1osm
0
190
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
15
4.8k
迷わない!AI×MCP連携のリファレンスアーキテクチャ完全ガイド
cdataj
0
100
Scrum Guide Expansion Pack が示す現代プロダクト開発への補完的視点
sonjin
0
290
I tried making a solo advent calendar!
zzzzico
0
120
Redshift認可、アップデートでどう変わった?
handy
1
120
Qiita Bash アドカレ LT #1
okaru
0
150
AI: The stuff that nobody shows you
jnunemaker
PRO
1
130
Featured
See All Featured
Fireside Chat
paigeccino
41
3.8k
Paper Plane (Part 1)
katiecoart
PRO
0
2.7k
Rails Girls Zürich Keynote
gr2m
95
14k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
880
Bash Introduction
62gerente
615
210k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
270
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
0
50
How to Ace a Technical Interview
jacobian
281
24k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
The World Runs on Bad Software
bkeepers
PRO
72
12k
A Soul's Torment
seathinner
1
2.1k
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 でいい感じに使うラッパがあります - ぐぐらびりてぃが低すぎる
ありがとうございました