LoginSignup
5
1

More than 5 years have passed since last update.

websocket API を API Gateway と Python ランタイムの Lambda で作る

Posted at

re:Invent 2018で発表があったとおり、API Gateway が websocket API をサポートしました。

ですが、AWS が提供するサンプルコードは JavaScript だけで・Python の実装が見当たりませんでした。

そこで、本稿では Python ランタイムの Lambda を用いて websocket API を構築するさいのサンプルコードを紹介します。
なお、デプロイや動作確認の手順については readme を参照してください。

サンプルコード

5
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
1