0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【lambda 超初心者】CLIを使ってlambda関数を作成する

Posted at

内容

AWS CLIを使って、lambda関数を作成する。
個人の備忘録であるためかなり内容が薄くなっている。

  1. デプロイディレクトリを作成

  2. Pythonコードを作成

  3. zip化 ライブラリやコードを含める

  4. aws lambda create-function --funtion-name ... lambda関数名やhandler, runtimeなどの設定を行う

  5. 更新対象のコードの編集や、ライブラリの追加を行い再度zip化する

  6. aws lambda update-function-code .. を利用してlambda 関数を更新する

参考

https://docs.aws.amazon.com/ja_jp/lambda/latest/dg/python-package-create.html#python-package-create-with-dependency
https://docs.aws.amazon.com/ja_jp/lambda/latest/dg/python-package-update.html

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?