{"height":"190","published":"2021-02-14 00:52:27","title":"How to write AWS Amplify Lambda Function in TypeScript","provider_url":"https://hatena.blog","url":"https://www.ekwbtblog.com/entry/2021/02/14/005227","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kwbtblog/20210214/20210214003425.png","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/kwbtblog/","version":"1.0","type":"rich","author_name":"kwbtblog","blog_title":"Welcome to new things","categories":["AWS","AWS Amplify","AWS Lambda","Amazon Web Service","JavaScript","SPA","Single Page Application","Single page application","TypeScript"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.ekwbtblog.com%2Fentry%2F2021%2F02%2F14%2F005227\" title=\"How to write AWS Amplify Lambda Function in TypeScript - Welcome to new things\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://www.ekwbtblog.com/","width":"100%","description":"When you add a Lambda Function in AWS Amplify, a template is generated in JavaScript, so this is a memo on how to turn it into TypeScript. The following document was used as a reference https://docs.amplify.aws/cli/function/build-options procedure When you add a Function, the following folder is gen\u2026"}