{"url":"https://randommemory.hatenablog.com/entry/2022/03/06/000104","blog_url":"https://randommemory.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2022%2F03%2F06%2F000104\" title=\"CDK (3) - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","version":"1.0","published":"2022-03-06 00:01:04","description":"\u3057\u3087\u30fc\u3082\u306a\u3044 Lambda \u3092 1 \u3064\u3060\u3051\u542b\u3080\u30b9\u30bf\u30c3\u30af\u3092 CDK \u3067\u30c7\u30d7\u30ed\u30a4\u3057\u3066\u307f\u305f\u3044\u3002$CDK_PROJ/lambda/hello/index.py \u3092\u4f5c\u3063\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5185\u5bb9\u306b\u3067\u3082\u3057\u3066\u307f\u308b: def lambda_handler(event, context): if 'message' in event: print(f'Hello, {event[\"message\"]}') else: print(f'Hello, wo...') return { 'statusCode': 200, } \u6211\u306a\u304c\u3089\u306a\u304b\u306a\u304b\u9177\u3044\u3002\u4eca\u3093\u3068\u3053 TypeScript \u3092\u4f7f\u3046\u306e\u306f CDK \u7528\u306e DSL \u90e8\u5206\u3060\u3051\u3068\u2026","author_name":"derwind","provider_url":"https://hatena.blog","height":"190","author_url":"https://blog.hatena.ne.jp/derwind/","categories":["AWS"],"blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","image_url":null,"type":"rich","provider_name":"Hatena Blog","title":"CDK (3)"}