1. はじめに クラウドインテグレーション部の千葉です。 Python が好きなので、Lambda を使った開発の際は Serverless Framework に aws-python3 のテンプレートを当てて使っています。 ただ、Serverless Framework 自体が Node.js で動いているので、ちょっとしたタスクをやらせるダケなのにファイルや README.md の内容が増えちゃってウンザリしちゃうんです。 そんなワケで『基本は Serverless Framework』としつつ『定期的にSalesforceのレコード検索して結果をSlackに投稿する』的な、ちょっとしたモノは Python のみでサクっと作っちゃいたい。と思い、 aws / serverless-application-model(以下、SAM) をつかった開発の流れを整理しておくことにしました。