{"id":131,"date":"2024-11-24T10:50:10","date_gmt":"2024-11-24T01:50:10","guid":{"rendered":"https:\/\/www.docswell.com\/magazine\/?p=131"},"modified":"2025-02-12T19:31:22","modified_gmt":"2025-02-12T10:31:22","slug":"serverless-development-guide-aws-lambda-security","status":"publish","type":"post","link":"https:\/\/www.docswell.com\/magazine\/software-dev\/serverless-development-guide-aws-lambda-security\/","title":{"rendered":"\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u305f\u3081\u306e\u30b5\u30fc\u30d0\u30ec\u30b9\u958b\u767a\u5165\u9580 &#8211; AWS Lambda\u6d3b\u7528\u304b\u3089\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u307e\u3067"},"content":{"rendered":"\n<p>\u6025\u901f\u306b\u666e\u53ca\u304c\u9032\u3080\u30b5\u30fc\u30d0\u30ec\u30b9\u958b\u767a\u3002AWS\u306eLambda\u3092\u59cb\u3081\u3068\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u306b\u3088\u3063\u3066\u3001\u30a4\u30f3\u30d5\u30e9\u7ba1\u7406\u304b\u3089\u89e3\u653e\u3055\u308c\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u306b\u96c6\u4e2d\u3067\u304d\u308b\u958b\u767a\u30b9\u30bf\u30a4\u30eb\u304c\u6ce8\u76ee\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u57fa\u790e\u77e5\u8b58\u304b\u3089\u5b9f\u8df5\u7684\u306a\u958b\u767a\u624b\u6cd5\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56\u307e\u3067\u3001\u6bb5\u968e\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">&#x2601;&#xfe0f; \u30b5\u30fc\u30d0\u30ec\u30b9\u3068\u306f\uff1f\u30af\u30e9\u30a6\u30c9\u3068\u306e\u9055\u3044\u3092\u7406\u89e3\u3057\u3088\u3046<\/h2>\n\n\n\n<p>\u30a4\u30f3\u30d5\u30e9\u7ba1\u7406\u304b\u3089\u89e3\u653e\u3055\u308c\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306b\u96c6\u4e2d\u3067\u304d\u308b \u30fc \u305d\u308c\u304c<strong>\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u672c\u8cea\u7684\u306a\u4fa1\u5024<\/strong>\u3067\u3059\u3002\u5b9f\u306f\u7269\u7406\u7684\u306a\u30b5\u30fc\u30d0\u30fc\u306f\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u958b\u767a\u8005\u306f\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u3092\u610f\u8b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30d0\u30ec\u30b9\u3068\u30af\u30e9\u30a6\u30c9\u306e\u9055\u3044<\/h3>\n\n\n\n<p>\u5f93\u6765\u306e\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u3067\u306f\u3001EC2\u306a\u3069\u306e\u30b5\u30fc\u30d0\u30fc\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u7528\u610f\u3057\u3066\u3001OS\u306e\u8a2d\u5b9a\u304b\u3089\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30d1\u30c3\u30c1\u306e\u9069\u7528\u307e\u3067\u3001\u69d8\u3005\u306a\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u4f5c\u696d\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u3067\u3082\u30b5\u30fc\u30d0\u30ec\u30b9\u306a\u3089\u3001\u305d\u3046\u3044\u3063\u305f\u4f5c\u696d\u304b\u3089\u5b8c\u5168\u306b\u89e3\u653e\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u4f8b\u3067\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4f8b\u3048\u30701\u65e5100\u679a\u7a0b\u5ea6\u3057\u304b\u51e6\u7406\u3057\u306a\u3044\u753b\u50cf\u5909\u63dbAPI\u3092\u4f5c\u308b\u3068\u3057\u307e\u3059\u3002\u5f93\u6765\u306e\u30af\u30e9\u30a6\u30c9\u306a\u3089\u3001\u51e6\u7406\u304c\u306a\u304f\u3066\u308224\u6642\u9593365\u65e5\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3055\u305b\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u4e00\u65b9\u30b5\u30fc\u30d0\u30ec\u30b9\u3067\u306f\u3001\u753b\u50cf\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u6642\u3060\u3051\u51e6\u7406\u3092\u5b9f\u884c\u3002\u4f7f\u3063\u3066\u3044\u306a\u3044\u6642\u9593\u306e\u30b3\u30b9\u30c8\u304c\u30bc\u30ed\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">PaaS\u3068\u306e\u9055\u3044\u3092\u7406\u89e3\u3059\u308b<\/h3>\n\n\n\n<p>\u540c\u3058\u3088\u3046\u306b\u300c\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u4e0d\u8981\u300d\u3092\u8b33\u3046PaaS\uff08Platform as a Service\uff09\u3068\u306e\u9055\u3044\u3082\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002PaaS\u3067\u3082\u78ba\u304b\u306b\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u306f\u4e0d\u8981\u3067\u3059\u304c\u3001PaaS\u306f\u5e38\u306b\u4e00\u5b9a\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u78ba\u4fdd\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u5bfe\u3057\u3066\u30b5\u30fc\u30d0\u30ec\u30b9\u306f\u3001\u591a\u304f\u306e\u5834\u5408FaaS\uff08Function as a Service\uff09\u3068\u547c\u3070\u308c\u3001\u51e6\u7406\u304c\u5fc5\u8981\u306a\u6642\u3060\u30511\u56de\u3054\u3068\u306b\u30ea\u30bd\u30fc\u30b9\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u3001\u7d42\u308f\u3063\u305f\u3089\u5373\u5ea7\u306b\u89e3\u653e\u3055\u308c\u307e\u3059\u3002\u307e\u3055\u306b\u300c\u5fc5\u8981\u306a\u6642\u3060\u3051\u300d\u306e\u30aa\u30f3\u30c7\u30de\u30f3\u30c9\u306a\u5b9f\u884c\u74b0\u5883\u3068\u3044\u3048\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001PaaS\u3084\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3082\u5927\u67a0\u3068\u3057\u3066\u30b5\u30fc\u30d0\u30ec\u30b9\u6280\u8853\u306b\u542b\u3081\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u5404\u30af\u30e9\u30a6\u30c9\u306e\u89e3\u8aac\u3092\u53c2\u7167\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30a4\u30f3\u30d5\u30e9\u7ba1\u7406\u304b\u3089\u89e3\u653e\u3055\u308c\u3001\u958b\u767a\u306b\u96c6\u4e2d\u3067\u304d\u308b<\/li>\n\n\n\n<li>\u4f7f\u3063\u305f\u5206\u3060\u3051\u306e\u5f93\u91cf\u8ab2\u91d1\u3067\u3001\u30b3\u30b9\u30c8\u6700\u9069\u5316\u304c\u56f3\u308c\u308b<\/li>\n\n\n\n<li>\u81ea\u52d5\u7684\u306a\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u306b\u3088\u308a\u3001\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u5909\u52d5\u306b\u67d4\u8edf\u306b\u5bfe\u5fdc\u3067\u304d\u308b<\/li>\n<\/ul>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001EC\u30b5\u30a4\u30c8\u306e\u5e74\u672b\u5546\u6226\u306b\u3064\u304b\u3046\u30e9\u30f3\u30ad\u30f3\u30b0API\u3002\u5f93\u6765\u306a\u3089\u300c\u3069\u308c\u304f\u3089\u3044\u306e\u30a2\u30af\u30bb\u30b9\u304c\u6765\u308b\u304b\u306a&#8230;\u300d\u3068\u60a9\u307f\u306a\u304c\u3089\u30b5\u30fc\u30d0\u30fc\u3092\u5897\u5f37\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u30b5\u30fc\u30d0\u30ec\u30b9\u306a\u3089\u81ea\u52d5\u3067\u30b9\u30b1\u30fc\u30eb\u3059\u308b\u306e\u3067\u3001\u305d\u306e\u5fc3\u914d\u306f\u4e0d\u8981\u3002\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u304b\u3089\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u307e\u3067\u3001\u5e45\u5e83\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u63a1\u7528\u3055\u308c\u3066\u3044\u308b\u7406\u7531\u304c\u3053\u3053\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f6e0;&#xfe0f; AWS\u30b5\u30fc\u30d0\u30ec\u30b9\u30b5\u30fc\u30d3\u30b9\u306e\u5168\u4f53\u50cf<\/h2>\n\n\n\n<p>\u300c\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9\u3084\u904b\u7528\u3063\u3066\u5927\u5909\u305d\u3046&#8230;\u300d\u305d\u3093\u306a\u60a9\u307f\u3092\u89e3\u6c7a\u3059\u308b\u306e\u304c\u3001<strong>\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u30b5\u30fc\u30d3\u30b9\u7fa4<\/strong>\u3067\u3059\u3002AWS\u3084Google Cloud\u3001Azure\u306a\u3069\u69d8\u3005\u306a\u30af\u30e9\u30a6\u30c9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306fAWS\u306e\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3057\u3087\u3046\u3002AWS Lambda\u3092\u4e2d\u5fc3\u306b\u3001\u69d8\u3005\u306a\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30a4\u30f3\u30d5\u30e9\u7ba1\u7406\u306a\u3057\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u4f5c\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">AWS Lambda\u306e\u57fa\u672c<\/h3>\n\n\n\n<p>AWS Lambda\u306f\u3001\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u95a2\u6570\u3068\u3057\u3066\u767b\u9332\u3059\u308b\u3060\u3051\u3067\u5b9f\u884c\u74b0\u5883\u304c\u7528\u610f\u3055\u308c\u308b\u4fbf\u5229\u306a\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001Node.js\u3084Python\u3001Java\u306a\u3069\u3001\u597d\u304d\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u304c\u9078\u3079\u307e\u3059\u3002\u30e1\u30e2\u30ea\u3082128MB\u304b\u308910GB\u307e\u3067\u67d4\u8edf\u306b\u9078\u629e\u53ef\u80fd\u3067\u3001\u6700\u592715\u5206\u9593\u306e\u51e6\u7406\u6642\u9593\u304c\u4f7f\u3048\u307e\u3059\u3002\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u3001\u9069\u5207\u306a\u30b9\u30da\u30c3\u30af\u3092\u9078\u3076\u3053\u3068\u304c\u3067\u304d\u308b\u3093\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30d0\u30ec\u30b9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u652f\u3048\u308b\u4e3b\u8981\u30b5\u30fc\u30d3\u30b9<\/h3>\n\n\n\n<p>\u5b9f\u7528\u7684\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u7d44\u307f\u5408\u308f\u305b\u307e\u3059\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>API Gateway\uff1aHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u53d7\u4ed8\u3068\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0<\/li>\n\n\n\n<li>DynamoDB\uff1a\u9ad8\u901f\u306aNoSQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/li>\n\n\n\n<li>S3\uff1a\u5927\u5bb9\u91cf\u30d5\u30a1\u30a4\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8<\/li>\n\n\n\n<li>EventBridge\uff1a\u30b5\u30fc\u30d3\u30b9\u9593\u306e\u9023\u643a\u3068\u30b9\u30b1\u30b8\u30e5\u30fc\u30ea\u30f3\u30b0<\/li>\n\n\n\n<li>Cognito\uff1a\u30e6\u30fc\u30b6\u30fc\u8a8d\u8a3c\u57fa\u76e4<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u300c\u56fa\u5b9a\u8cbb\u3092\u6291\u3048\u305f\u300d\u6599\u91d1\u306e\u8003\u3048\u65b9<\/h3>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u6599\u91d1\u4f53\u7cfb\u306f\u300c\u4f7f\u3063\u305f\u5206\u3060\u3051\u300d\u304c\u57fa\u672c\u3067\u3059\u3002\u4f8b\u3048\u3070\u30011\u65e5100\u56de\u3057\u304b\u547c\u3070\u308c\u306a\u3044API\u306a\u3089\u3001\u305d\u306e100\u56de\u5206\u306e\u5b9f\u884c\u6642\u9593\u3060\u3051\u304c\u8ab2\u91d1\u5bfe\u8c61\u3002Lambda\u95a2\u6570\u306e\u5b9f\u884c\u6642\u9593\u3001API Gateway\u306eAPI\u30b3\u30fc\u30eb\u6570\u3001DynamoDB\u306e\u30c7\u30fc\u30bf\u91cf\u306a\u3069\u3001\u30ea\u30bd\u30fc\u30b9\u306e\u5229\u7528\u91cf\u306b\u5fdc\u3058\u3066\u6599\u91d1\u304c\u6c7a\u307e\u308a\u307e\u3059\u3002\u3067\u3059\u306e\u3067\u3001\u305b\u3063\u304b\u304fLambda\u3092\u6d3b\u7528\u3057\u3066\u3082\u3001DB\u3092RDS\u306a\u3069\u56fa\u5b9a\u6599\u91d1\u30fb\u56fa\u5b9a\u30b9\u30da\u30c3\u30af\u306e\u88fd\u54c1\u3068\u4f75\u7528\u3059\u308b\u3068\u3001\u30b3\u30b9\u30c8\u3068\u30b9\u30b1\u30fc\u30eb\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u751f\u304b\u305b\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5b9f\u88c5\u3068\u30c7\u30d7\u30ed\u30a4\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h3>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u958b\u767a\u52b9\u7387\u3092\u4e0a\u3052\u308b\u306a\u3089\u3001Infrastructure as Code\uff08IaC\uff09\u306e\u6d3b\u7528\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002AWS SAM\u3084Serverless Framework\u3092\u4f7f\u3048\u3070\u3001YAML\u30d5\u30a1\u30a4\u30eb\u4e00\u3064\u3067\u30a4\u30f3\u30d5\u30e9\u306e\u69cb\u6210\u7ba1\u7406\u304c\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001AWS CDK\u306a\u3089TypeScript\u3084Python\u3067\u30a4\u30f3\u30d5\u30e9\u3092\u30b3\u30fc\u30c9\u5316\u3067\u304d\u308b\u305f\u3081\u3001\u3088\u308a\u67d4\u8edf\u306a\u69cb\u6210\u7ba1\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u753b\u50cf\u30ea\u30b5\u30a4\u30ba\u30b5\u30fc\u30d3\u30b9\u3092\u4f5c\u308b\u5834\u5408\u3002S3\u306b\u753b\u50cf\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u3089Lambda\u304c\u8d77\u52d5\u3057\u3001\u30b5\u30a4\u30ba\u5909\u63db\u3057\u3066DynamoDB\u306b\u7d50\u679c\u3092\u4fdd\u5b58\u3059\u308b\u3002\u3053\u306e\u3088\u3046\u306a\u4e00\u9023\u306e\u51e6\u7406\u3092\u3001\u6570\u5341\u884c\u306e\u30b3\u30fc\u30c9\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002AWS\u306e\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u4e0a\u624b\u304f\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u8907\u96d1\u306a\u8981\u4ef6\u3082\u52b9\u7387\u7684\u306b\u5b9f\u88c5\u3067\u304d\u308b\u3093\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f914; \u30b5\u30fc\u30d0\u30ec\u30b9\u958b\u767a\u306e\u5411\u304d\u4e0d\u5411\u304d\u3092\u77e5\u308b<\/h2>\n\n\n\n<p>\u300c\u30b5\u30fc\u30d0\u30ec\u30b9\u6700\u9ad8\uff01\u300d\u3068\u3088\u304f\u805e\u304d\u307e\u3059\u304c\u3001<strong>\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u5f97\u610f\u30fb\u4e0d\u5f97\u610f\u3092\u3057\u3063\u304b\u308a\u898b\u6975\u3081\u308b<\/strong>\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u958b\u767a\u52b9\u7387\u3092\u4e0a\u3052\u3089\u308c\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308c\u3070\u3001\u3080\u3057\u308d\u8907\u96d1\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u30b1\u30fc\u30b9\u3082\u3042\u308b\u3093\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30d0\u30ec\u30b9\u304c\u5f97\u610f\u3068\u3059\u308b\u5834\u9762<\/h3>\n\n\n\n<p>\u307e\u305a\u3001\u30a4\u30d9\u30f3\u30c8\u30c9\u30ea\u30d6\u30f3\u306a\u51e6\u7406\u3068\u306e\u76f8\u6027\u306f\u629c\u7fa4\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u304c1\u65e5\u6570\u767e\u679a\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u753b\u50cf\u306e\u81ea\u52d5\u30ea\u30b5\u30a4\u30ba\u51e6\u7406\u3002\u5f93\u6765\u306e\u30b5\u30fc\u30d0\u30fc\u3060\u3068\u300c\u666e\u6bb5\u306f\u6687\u3060\u3051\u3069\u3001\u305f\u307e\u306b\u8ca0\u8377\u304c\u8df3\u306d\u4e0a\u304c\u308b\u300d\u3068\u3044\u3046\u7121\u99c4\u306e\u591a\u3044\u69cb\u6210\u306b\u306a\u308a\u304c\u3061\u3067\u3059\u3002\u30b5\u30fc\u30d0\u30ec\u30b9\u306a\u3089\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u6642\u3060\u3051\u51e6\u7406\u304c\u8d70\u308b\u306e\u3067\u7406\u60f3\u7684\u3002\u4ed6\u306b\u3082\u3001IoT\u30c7\u30d0\u30a4\u30b9\u304b\u3089\u306e\u4e0d\u5b9a\u671f\u306a\u30c7\u30fc\u30bf\u53ce\u96c6\u3084\u3001EC\u30b5\u30a4\u30c8\u306e\u5728\u5eab\u30c1\u30a7\u30c3\u30afAPI\u306a\u3069\u3001\u300c\u30a4\u30d9\u30f3\u30c8\u306e\u767a\u751f\uff1d\u51e6\u7406\u306e\u5b9f\u884c\u300d\u3068\u3044\u3046\u30d1\u30bf\u30fc\u30f3\u3068\u597d\u76f8\u6027\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u958b\u767a\u52b9\u7387\u3068\u30b3\u30b9\u30c8\u306e\u4e21\u7acb<\/h3>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u4fa1\u5024\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u304b\u3089\u306e\u89e3\u653e\u3060\u3051\u3058\u3083\u3042\u308a\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u300c\u30c1\u30fc\u30e0\u5168\u54e1\u304c\u30a4\u30f3\u30d5\u30e9\u306e\u5c02\u9580\u5bb6\u3067\u3042\u308b\u5fc5\u8981\u304c\u306a\u3044\u300d\u3068\u3044\u3046\u70b9\u3002Lambda\u95a2\u6570\u5358\u4f4d\u3067\u958b\u767a\u3092\u9032\u3081\u3089\u308c\u308b\u306e\u3067\u3001\u5404\u30e1\u30f3\u30d0\u30fc\u306f\u62c5\u5f53\u6a5f\u80fd\u306e\u5b9f\u88c5\u306b\u96c6\u4e2d\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u5f93\u91cf\u8ab2\u91d1\u306a\u306e\u3067\u3001\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u958b\u767a\u6642\u306e\u56fa\u5b9a\u8cbb\u3092\u6291\u3048\u3089\u308c\u308b\u306e\u3082\u5927\u304d\u306a\u5229\u70b9\u3002\u30a2\u30af\u30bb\u30b9\u304c\u307e\u3060\u5c11\u306a\u3044\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u30d5\u30a7\u30fc\u30ba\u3067\u306f\u3001\u7279\u306b\u3053\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u6d3b\u304d\u3066\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6c17\u3092\u3064\u3051\u305f\u3044\u5236\u7d04\u3068\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<p>\u3068\u306f\u3044\u3048\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u30b2\u30fc\u30e0\u306e\u30de\u30c3\u30c1\u30f3\u30b0\u30b5\u30fc\u30d0\u30fc\u306e\u3088\u3046\u306b\u300c\u30df\u30ea\u79d2\u5358\u4f4d\u306e\u30ec\u30a4\u30c6\u30f3\u30b7\u30fc\u304c\u91cd\u8981\u300d\u306a\u51e6\u7406\u3084\u3001\u30c7\u30fc\u30bf\u5206\u6790\u57fa\u76e4\u306e\u3088\u3046\u306b\u300c\u6570\u6642\u9593\u5358\u4f4d\u306e\u91cd\u3044\u51e6\u7406\u300d\u304c\u5fc5\u8981\u306a\u30b1\u30fc\u30b9\u3067\u306f\u4e0d\u5411\u304d\u3067\u3059\u3002\u307e\u305f\u3001\u30af\u30e9\u30a6\u30c9\u5185\u306b\u7528\u610f\u3055\u308c\u305f\u30b5\u30fc\u30d3\u30b9\u540c\u58eb\u3092\u9023\u52d5\u3055\u305b\u308b\u306e\u3067\u4f9d\u5b58\u5ea6\u304c\u9ad8\u304f\u306a\u308a\u304c\u3061\u3067\u3001\u5c06\u6765\u7684\u306a\u30af\u30e9\u30a6\u30c9\u79fb\u884c\u306e\u53ef\u80fd\u6027\u304c\u3042\u308b\u5834\u5408\u306f\u8981\u6ce8\u610f\u3002Lambda\u95a2\u6570\u306e15\u5206\u5236\u9650\u3084\u3001\u30b3\u30fc\u30eb\u30c9\u30b9\u30bf\u30fc\u30c8\u554f\u984c\u3082\u3001\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u8a2d\u8a08\u6642\u306e\u91cd\u8981\u306a\u8003\u616e\u30dd\u30a4\u30f3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u73fe\u5b9f\u7684\u306a\u4f7f\u3044\u5206\u3051\u306e\u30b3\u30c4<\/h3>\n\n\n\n<p>\u7d50\u5c40\u306e\u3068\u3053\u308d\u3001\u30aa\u30fc\u30ebor\u30ca\u30c3\u30b7\u30f3\u30b0\u3067\u30b5\u30fc\u30d0\u30ec\u30b9\u3092\u9078\u3076\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001Web\u30a2\u30d7\u30ea\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306f\u30b3\u30f3\u30c6\u30ca\u3067\u69cb\u7bc9\u3057\u3064\u3064\u3001\u753b\u50cf\u51e6\u7406\u3084\u30d0\u30c3\u30c1\u51e6\u7406\u3060\u3051\u30b5\u30fc\u30d0\u30ec\u30b9\u3067\u3001\u3068\u3044\u3046\u5177\u5408\u3067\u3059\u3002\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3001\u6a5f\u80fd\u3054\u3068\u306b\u6700\u9069\u306a\u5b9f\u88c5\u65b9\u5f0f\u3092\u9078\u3079\u307e\u3059\u3002\u305f\u3060\u3057\u300cLambda\u95a2\u6570\u304c100\u500b\u300d\u307f\u305f\u3044\u306a\u72b6\u6cc1\u306f\u907f\u3051\u305f\u3044\u306e\u3067\u3001\u9069\u5ea6\u306a\u30b5\u30fc\u30d3\u30b9\u5206\u5272\u7c92\u5ea6\u3092\u610f\u8b58\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u5c0e\u5165\u306f\u300c\u3067\u304d\u308b\u3053\u3068\u300d\u3088\u308a\u300c\u3084\u308b\u3079\u304d\u3053\u3068\u300d\u3067\u5224\u65ad\u3002\u307e\u305a\u306f\u5c0f\u898f\u6a21\u306a\u975e\u540c\u671f\u51e6\u7406\u304b\u3089\u59cb\u3081\u3066\u3001\u5f90\u3005\u306b\u9069\u7528\u7bc4\u56f2\u3092\u5e83\u3052\u3066\u3044\u304f\u306e\u304c\u3001\u591a\u304f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u6210\u529f\u3059\u308b\u30b3\u30c4\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f528; \u5b9f\u8df5\uff01\u30b5\u30fc\u30d0\u30ec\u30b9Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u8a2d\u8a08\u3068\u5b9f\u88c5<\/h2>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9Web\u30a2\u30d7\u30ea\u306e\u8a2d\u8a08\u3067\u809d\u3068\u306a\u308b\u306e\u304c\u3001<strong>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u9069\u5207\u306a\u5206\u96e2\u8a2d\u8a08<\/strong>\u3067\u3059\u3002\u3053\u306e\u7ae0\u3067\u306f\u3001\u5b9f\u969b\u306e\u73fe\u5834\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3068\u5b9f\u88c5\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u57fa\u672c\u7684\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30d1\u30bf\u30fc\u30f3<\/h3>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9Web\u30a2\u30d7\u30ea\u306e\u5b9a\u756a\u69cb\u6210\u306f\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u304c\u3042\u308b\u5834\u5408\u306fReact\u3084Vue.js\u306a\u3069\u306eSPA\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306bAPI Gateway + Lambda\u3068\u3044\u3046\u7d44\u307f\u5408\u308f\u305b\u3067\u3059\u3002\u753b\u50cf\u3084JS\u30d5\u30a1\u30a4\u30eb\u306a\u3069\u306e\u9759\u7684\u30b3\u30f3\u30c6\u30f3\u30c4\u306fS3\u306b\u7f6e\u3044\u3066\u3001CloudFront\u3067\u4e16\u754c\u4e2d\u306b\u914d\u4fe1\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u306fDynamoDB\u3092\u63a1\u7528\u3059\u308b\u30b1\u30fc\u30b9\u304c\u591a\u3044\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u30c9\u30af\u30bb\u30eb\u306b\u304a\u3051\u308b\u5b9f\u88c5\u4f8b\u306e\u30b9\u30e9\u30a4\u30c9\u3068\u3057\u3066\u3001dyoshikawa\u6c0f\u306e\u300c<a href=\"https:\/\/docswell.com\/s\/dyoshikawa\/KDEJ8V-chat-gpt-line-bot-aws-serverless\">AWS\u30b5\u30fc\u30d0\u30ec\u30b9\u4e0a\u306bChatGPT LINE\u30dc\u30c3\u30c8\u3092\u69cb\u7bc9\u3059\u308b<\/a>\u300d\u306f\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002\u30d5\u30ed\u30f3\u30c8\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30c1\u30e3\u30c3\u30c8\u30dc\u30c3\u30c8\u3082\u30e6\u30fc\u30b6\u304b\u3089\u306e\u9001\u4fe1\u3068\u3044\u3046\u30a4\u30d9\u30f3\u30c8\u30d9\u30fc\u30b9\u306e\u52d5\u4f5c\u306b\u306a\u308b\u305f\u3081\u3001\u30b5\u30fc\u30d0\u30ec\u30b9\u304c\u6700\u3082\u76f8\u6027\u306e\u3044\u3044\u5206\u91ce\u3067\u3059\u3002\u30d7\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u74b0\u5883\u3067\u306e\u5b9f\u8df5\u7684\u306a\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u69cb\u6210\u304c\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<script async class=\"docswell-embed\" src=\"https:\/\/docswell.com\/assets\/libs\/docswell-embed\/docswell-embed.min.js\" data-src=\"https:\/\/docswell.com\/slide\/KDEJ8V\/embed\" data-aspect=\"0.5632\"><\/script><div class=\"docswell-link\"><a href=\"https:\/\/docswell.com\/s\/dyoshikawa\/KDEJ8V-chat-gpt-line-bot-aws-serverless\">AWS\u30b5\u30fc\u30d0\u30ec\u30b9\u4e0a\u306bChatGPT LINE\u30dc\u30c3\u30c8\u3092\u69cb\u7bc9\u3059\u308b by @dyoshikawa<\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u958b\u767a\u74b0\u5883\u3068\u30ed\u30fc\u30ab\u30eb\u30c6\u30b9\u30c8<\/h3>\n\n\n\n<p>\u958b\u767a\u52b9\u7387\u3092\u4e0a\u3052\u308b\u306a\u3089\u3001\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u306e\u30c6\u30b9\u30c8\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002AWS SAM Local\u3084Serverless Framework\u3092\u4f7f\u3048\u3070\u3001\u672c\u756a\u306b\u8fd1\u3044\u74b0\u5883\u3067\u306e\u30c6\u30b9\u30c8\u304c\u53ef\u80fd\u3002Infrastructure as Code\u30c4\u30fc\u30eb\u306faws-cdk\u304c\u4eba\u6c17\u3067\u3001TypeScript\u3067\u578b\u5b89\u5168\u306a\u74b0\u5883\u69cb\u7bc9\u304c\u3067\u304d\u307e\u3059\u3002\u300c\u30ed\u30fc\u30ab\u30eb\u3067\u52d5\u3044\u305f\u306e\u306b\u672c\u756a\u3067\u52d5\u304b\u306a\u3044\u300d\u3068\u3044\u3063\u305f\u30c8\u30e9\u30d6\u30eb\u3092\u9632\u3052\u307e\u3059\u3088\u3002\u307b\u304b\u306e\u30af\u30e9\u30a6\u30c9\u306b\u3082\u540c\u69d8\u306e\u30c4\u30fc\u30eb\u30bb\u30c3\u30c8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u5b9f\u88c5\u306e\u30b3\u30c4<\/h3>\n\n\n\n<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u306f\u3001API Gateway\u3068\u306e\u901a\u4fe1\u3092\u62c5\u5f53\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u5c64\u3092\u304d\u3061\u3093\u3068\u5206\u96e2\u3057\u307e\u3059\u3002\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a8\u30e9\u30fc\u306e\u969b\u306e\u81ea\u52d5\u30ea\u30c8\u30e9\u30a4\u3084\u3001\u30c8\u30fc\u30af\u30f3\u5207\u308c\u306e\u969b\u306e\u518d\u53d6\u5f97\u306a\u3069\u3001\u904b\u7528\u3092\u898b\u636e\u3048\u305f\u5b9f\u88c5\u304c\u30dd\u30a4\u30f3\u30c8\u3002\u8a8d\u8a3c\u306fCognito\u3092\u4f7f\u3048\u3070\u3001\u30bb\u30ad\u30e5\u30a2\u306a\u5b9f\u88c5\u304c\u6700\u5c0f\u9650\u306e\u5de5\u6570\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u8a2d\u8a08\u306e\u30d9\u30b9\u30c8\u30d7\u30e9\u30af\u30c6\u30a3\u30b9<\/h3>\n\n\n\n<p>Lambda\u95a2\u6570\u306f\u300c1\u3064\u306e\u95a2\u6570\u306b1\u3064\u306e\u8cac\u4efb\u300d\u3092\u5fb9\u5e95\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u306e\u53d6\u5f97\u3068\u66f4\u65b0\u306f\u5225\u3005\u306e\u95a2\u6570\u306b\u5206\u3051\u308b\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002\u8a2d\u5b9a\u5024\u306f\u74b0\u5883\u5909\u6570\u3084\u30d1\u30e9\u30e1\u30fc\u30bf\u30b9\u30c8\u30a2\u3067\u7ba1\u7406\u3057\u3001\u30cf\u30fc\u30c9\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u907f\u3051\u307e\u3057\u3087\u3046\u3002DynamoDB\u306e\u30c6\u30fc\u30d6\u30eb\u8a2d\u8a08\u3067\u306f\u3001\u300c\u3069\u3093\u306a\u30af\u30a8\u30ea\u304c\u5fc5\u8981\u304b\u300d\u3092\u5148\u306b\u8003\u3048\u3066\u304b\u3089\u30ad\u30fc\u3092\u6c7a\u3081\u308b\u306e\u304c\u30b3\u30c4\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u306e\u69cb\u7bc9<\/h3>\n\n\n\n<p>\u672c\u756a\u904b\u7528\u3092\u898b\u636e\u3048\u308b\u306a\u3089\u3001AWS CodePipeline\u3068CodeBuild\u3067\u81ea\u52d5\u30c7\u30d7\u30ed\u30a4\u306e\u4ed5\u7d44\u307f\u3092\u6574\u3048\u307e\u3057\u3087\u3046\u3002\u958b\u767a\u2192\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u2192\u672c\u756a\u3068\u3044\u30463\u6bb5\u968e\u306e\u74b0\u5883\u3092\u7528\u610f\u3057\u3001\u30c6\u30b9\u30c8\u3092\u901a\u904e\u3057\u305f\u30b3\u30fc\u30c9\u3060\u3051\u304c\u6b21\u306e\u74b0\u5883\u306b\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u308b\u6d41\u308c\u3092\u4f5c\u308a\u307e\u3059\u3002\u3053\u308c\u3067\u5b89\u5168\u304b\u3064\u52b9\u7387\u7684\u306a\u30ea\u30ea\u30fc\u30b9\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u672c\u756a\u904b\u7528\u3092\u898b\u636e\u3048\u305f\u76e3\u8996\u4f53\u5236<\/h3>\n\n\n\n<p>CloudWatch\u3067Lambda\u306e\u5b9f\u884c\u6642\u9593\u3084\u30a8\u30e9\u30fc\u7387\u3001API\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u30bf\u30a4\u30e0\u3092\u76e3\u8996\u3057\u307e\u3059\u3002\u5206\u6563\u30c8\u30ec\u30fc\u30b7\u30f3\u30b0\u306b\u306fX-Ray\u304c\u4fbf\u5229\u3067\u3001\u30b5\u30fc\u30d3\u30b9\u9593\u306e\u4f9d\u5b58\u95a2\u4fc2\u3084\u51e6\u7406\u306e\u6d41\u308c\u3092\u53ef\u8996\u5316\u3067\u304d\u307e\u3059\u3002\u30a2\u30e9\u30fc\u30c8\u306f\u300c\u5e73\u65e5\u306e\u55b6\u696d\u6642\u9593\u3060\u3051\u901a\u77e5\u300d\u3068\u3044\u3063\u305f\u5177\u5408\u306b\u3001\u904b\u7528\u30c1\u30fc\u30e0\u306e\u4f53\u5236\u306b\u5408\u308f\u305b\u3066\u8a2d\u5b9a\u3059\u308b\u306e\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f9ea; \u30b5\u30fc\u30d0\u30ec\u30b9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30c6\u30b9\u30c8\u6226\u7565<\/h2>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9\u74b0\u5883\u3067\u306e\u30c6\u30b9\u30c8\u306f\u3001<strong>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3054\u3068\u306e\u72ec\u7acb\u6027\u3092\u6d3b\u304b\u3057\u305f\u52b9\u7387\u7684\u306a\u691c\u8a3c<\/strong>\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002\u901a\u5e38\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u306f\u7570\u306a\u308a\u3001AWS\u30b5\u30fc\u30d3\u30b9\u9593\u306e\u9023\u643a\u3082\u542b\u3081\u305f\u5305\u62ec\u7684\u306a\u30c6\u30b9\u30c8\u6226\u7565\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u52b9\u679c\u7684\u306a\u30c6\u30b9\u30c8\u8a2d\u8a08\u306e\u5b9f\u8df5\u4f8b\u3068\u3057\u3066\u3001dyoshikawa\u6c0f\u306e\u300c<a href=\"https:\/\/docswell.com\/s\/dyoshikawa\/KY6X75-test-pyramid-aws-serverless-application\">\u30c6\u30b9\u30c8\u30d4\u30e9\u30df\u30c3\u30c9\u3067\u8003\u3048\u308b\u3001\u7d99\u7d9a\u3059\u308bAWS\u30b5\u30fc\u30d0\u30ec\u30b9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u81ea\u52d5\u30c6\u30b9\u30c8<\/a>\u300d\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002\u5b9f\u969b\u306e\u73fe\u5834\u3067\u306e\u77e5\u898b\u304c\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<script async class=\"docswell-embed\" src=\"https:\/\/docswell.com\/assets\/libs\/docswell-embed\/docswell-embed.min.js\" data-src=\"https:\/\/docswell.com\/slide\/KY6X75\/embed\" data-aspect=\"0.5625\"><\/script><div class=\"docswell-link\"><a href=\"https:\/\/docswell.com\/s\/dyoshikawa\/KY6X75-test-pyramid-aws-serverless-application\">\u30c6\u30b9\u30c8\u30d4\u30e9\u30df\u30c3\u30c9\u3067\u8003\u3048\u308b\u3001\u7d99\u7d9a\u3059\u308bAWS\u30b5\u30fc\u30d0\u30ec\u30b9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u81ea\u52d5\u30c6\u30b9\u30c8 by @dyoshikawa<\/a><\/div>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9\u3067\u306f\u3069\u3046\u3057\u3066\u3082\u30af\u30e9\u30a6\u30c9\u306e\u6a5f\u80fd\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u305f\u3081\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u30c6\u30b9\u30c8\u3057\u305f\u3044\u3068\u304d\u306b\u8907\u96d1\u306a\u69cb\u7bc9\u304c\u5fc5\u8981\u306b\u306a\u308a\u304c\u3061\u3067\u3059\u3002\u305d\u308c\u3088\u308a\u3082\u5148\u306b\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u3084Small\u30b5\u30a4\u30ba\u306e\u30c6\u30b9\u30c8\u3067\u30ab\u30d0\u30ec\u30c3\u30b8\uff08\u9762\u7a4d\uff09\u3092\u3042\u3052\u3088\u3046\u3068\u3044\u3063\u305f\u73fe\u5b9f\u7684\u306a\u9032\u3081\u65b9\u306b\u3042\u3075\u308c\u3066\u3044\u307e\u3059\u306d\uff01<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ed\u30b8\u30c3\u30af\u306e\u54c1\u8cea\u3092\u652f\u3048\u308b\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8<\/h3>\n\n\n\n<p>Lambda\u95a2\u6570\u3067\u66f8\u304f\u30b3\u30a2\u30ed\u30b8\u30c3\u30af\u306f\u3001AWS\u30b5\u30fc\u30d3\u30b9\u304b\u3089\u5207\u308a\u96e2\u3057\u3066\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u51e6\u7406\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30ed\u30b8\u30c3\u30af\u306a\u3089\u3001DynamoDB\u3078\u306e\u4fdd\u5b58\u90e8\u5206\u3092\u30e2\u30c3\u30af\u5316\u3057\u3066\u3001\u7d14\u7c8b\u306a\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u3060\u3051\u3092\u30c6\u30b9\u30c8\u3002Jest\u306a\u3069\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u3048\u3070\u3001\u9ad8\u901f\u3067\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u30c6\u30b9\u30c8\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30fc\u30d3\u30b9\u9593\u9023\u643a\u306e\u691c\u8a3c<\/h3>\n\n\n\n<p>API Gateway\u304b\u3089Lambda\u3001DynamoDB\u307e\u3067\u306e\u4e00\u9023\u306e\u6d41\u308c\u306f\u3001AWS SAM Local\u3067\u691c\u8a3c\u3057\u307e\u3059\u3002\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u3082\u672c\u756a\u76f8\u5f53\u306e\u52d5\u4f5c\u78ba\u8a8d\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u30c7\u30d7\u30ed\u30a4\u5f8c\u306e\u30c8\u30e9\u30d6\u30eb\u3092\u672a\u7136\u306b\u9632\u3052\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u5b9f\u884c\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u306e\u3067\u3001CI\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u3067\u306f\u91cd\u8981\u306a\u9023\u643a\u30d1\u30bf\u30fc\u30f3\u306b\u7d5e\u308b\u306e\u304c\u30b3\u30c4\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30ca\u30ea\u30aa\u30d9\u30fc\u30b9\u306e\u7dcf\u5408\u30c6\u30b9\u30c8<\/h3>\n\n\n\n<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u304b\u3089\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u307e\u3067\u3092\u901a\u3057\u305f\u691c\u8a3c\u306b\u306f\u3001Cypress\u304c\u4fbf\u5229\u3067\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u304b\u3089\u6c7a\u6e08\u307e\u3067\u306e\u4e00\u9023\u306e\u30d5\u30ed\u30fc\u306a\u3069\u3001\u91cd\u8981\u306a\u696d\u52d9\u30b7\u30ca\u30ea\u30aa\u306b\u7126\u70b9\u3092\u5f53\u3066\u307e\u3057\u3087\u3046\u3002\u5168\u6a5f\u80fd\u3092\u7db2\u7f85\u3059\u308b\u3068\u4fdd\u5b88\u30b3\u30b9\u30c8\u304c\u8df3\u306d\u4e0a\u304c\u308b\u306e\u3067\u3001\u512a\u5148\u5ea6\u306e\u9ad8\u3044\u30b7\u30ca\u30ea\u30aa\u304b\u3089\u59cb\u3081\u308b\u306e\u304c\u5f97\u7b56\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u52b9\u7387\u7684\u306a\u30c6\u30b9\u30c8\u74b0\u5883\u306e\u904b\u7528<\/h3>\n\n\n\n<p>\u958b\u767a\u30fb\u30c6\u30b9\u30c8\u30fb\u672c\u756a\u306e\u5404\u74b0\u5883\u306f\u3001aws-cdk\u3067\u4e00\u8cab\u3057\u3066\u7ba1\u7406\u3057\u307e\u3059\u3002\u74b0\u5883\u5909\u6570\u3084IAM\u30ed\u30fc\u30eb\u306e\u8a2d\u5b9a\u3082\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u300c\u30c6\u30b9\u30c8\u306f\u901a\u3063\u305f\u306e\u306b\u672c\u756a\u3067\u52d5\u304b\u306a\u3044\u300d\u3068\u3044\u3063\u305f\u30c8\u30e9\u30d6\u30eb\u3092\u9632\u3052\u307e\u3059\u3002\u540c\u6642\u306b\u3001\u74b0\u5883\u3054\u3068\u306e\u30b3\u30b9\u30c8\u3082\u76e3\u8996\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u5206\u6790\u3068\u6539\u5584<\/h3>\n\n\n\n<p>CloudWatchLogs\u306b\u96c6\u7d04\u3057\u305f\u30c6\u30b9\u30c8\u7d50\u679c\u306f\u3001\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3067\u53ef\u8996\u5316\u3059\u308b\u3068\u52b9\u679c\u7684\u3067\u3059\u3002\u300c\u3069\u306e\u6a5f\u80fd\u306e\u30c6\u30b9\u30c8\u304c\u5931\u6557\u3057\u3084\u3059\u3044\u304b\u300d\u300c\u5b9f\u884c\u6642\u9593\u306e\u50be\u5411\u300d\u306a\u3069\u3001\u6539\u5584\u30dd\u30a4\u30f3\u30c8\u304c\u898b\u3048\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u30a8\u30e9\u30fc\u30ed\u30b0\u306e\u5f62\u5f0f\u3092\u7d71\u4e00\u3057\u3066\u304a\u3051\u3070\u3001\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u3082\u7d20\u65e9\u304f\u884c\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6027\u80fd\u691c\u8a3c\u306e\u9032\u3081\u65b9<\/h3>\n\n\n\n<p>\u30b3\u30fc\u30eb\u30c9\u30b9\u30bf\u30fc\u30c8\u306e\u5f71\u97ff\u3084\u3001\u540c\u6642\u30ea\u30af\u30a8\u30b9\u30c8\u6642\u306e\u6319\u52d5\u306f\u3001Artillery\u7b49\u3067\u306e\u8ca0\u8377\u30c6\u30b9\u30c8\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002\u300c\u5e73\u65e5\u306e\u663c\u4f11\u307f\u6642\u306e\u6ce8\u6587\u6025\u5897\u300d\u3068\u3044\u3063\u305f\u5b9f\u904b\u7528\u30b7\u30ca\u30ea\u30aa\u3092\u60f3\u5b9a\u3057\u305f\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u3067\u3001\u672c\u756a\u7a3c\u50cd\u5f8c\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u554f\u984c\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">&#x1f512; \u30b5\u30fc\u30d0\u30ec\u30b9\u74b0\u5883\u306b\u304a\u3051\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5bfe\u7b56<\/h2>\n\n\n\n<p>\u30a4\u30f3\u30d5\u30e9\u7ba1\u7406\u304b\u3089\u306e\u89e3\u653e\u306f\u9b45\u529b\u7684\u3067\u3059\u304c\u3001<strong>\u30b5\u30fc\u30d0\u30ec\u30b9\u7279\u6709\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af\u3078\u306e\u5bfe\u7b56<\/strong>\u306f\u6b20\u304b\u305b\u307e\u305b\u3093\u3002a_zara_n\u6c0f\u306b\u3088\u308b\u300c<a href=\"https:\/\/docswell.com\/s\/a-zara-n\/Z248ER-minicamp2023tokyo\">\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u8aad\u307f\u89e3\u304d\u9032\u3081\u308b\u30e2\u30c0\u30f3Web\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5165\u9580<\/a>\u300d\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30ec\u30b9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3082\u542b\u3081\u305f\u3001\u3053\u308c\u307e\u3067\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5909\u9077\u3084\u3001\u305d\u306e\u4e2d\u3067\u306e\u8106\u5f31\u6027\u3068\u5bfe\u7b56\u304c\u8a73\u3057\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<script async class=\"docswell-embed\" src=\"https:\/\/docswell.com\/assets\/libs\/docswell-embed\/docswell-embed.min.js\" data-src=\"https:\/\/docswell.com\/slide\/Z248ER\/embed\" data-aspect=\"0.5625\"><\/script><div class=\"docswell-link\"><a href=\"https:\/\/docswell.com\/s\/a-zara-n\/Z248ER-minicamp2023tokyo\">\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u8aad\u307f\u89e3\u304d\u9032\u3081\u308b\u000b\u30e2\u30c0\u30f3Web\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5165\u9580 &#8211; \u516c\u958b\u8cc7\u6599 by @a-zara-n<\/a><\/div>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30ec\u30b9\u306b\u9650\u3089\u306a\u3044\u3082\u306e\u306e\u3001\u3055\u307e\u3056\u307e\u306a\u30b7\u30b9\u30c6\u30e0\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u306b\u3042\u305f\u308a\u898b\u843d\u3068\u3057\u304c\u3061\u306a\u30dd\u30a4\u30f3\u30c8\u3082\u7db2\u7f85\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u304a\u3059\u3059\u3081\u306e\u8cc7\u6599\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">IAM\u6a29\u9650\u306f\u6700\u5c0f\u9650\u306b<\/h3>\n\n\n\n<p>Lambda\u95a2\u6570\u306b\u5fc5\u8981\u4ee5\u4e0a\u306e\u6a29\u9650\u3092\u4ed8\u4e0e\u3059\u308b\u3068\u3001\u601d\u308f\u306c\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30db\u30fc\u30eb\u306b\u306a\u308a\u304b\u306d\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001\u7279\u5b9a\u306eDynamoDB\u30c6\u30fc\u30d6\u30eb\u306e\u53c2\u7167\u3060\u3051\u3092\u884c\u3046\u95a2\u6570\u306b\u3001\u5168\u30c6\u30fc\u30d6\u30eb\u3078\u306e\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u3092\u4e0e\u3048\u3066\u3057\u307e\u3046\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3002\u6a5f\u80fd\u5358\u4f4d\u3067\u5fc5\u8981\u6700\u5c0f\u9650\u306eIAM\u6a29\u9650\u3092\u8a2d\u5b9a\u3057\u3001\u610f\u56f3\u3057\u306a\u3044\u64cd\u4f5c\u3092\u9632\u304e\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5805\u7262\u306a\u8a8d\u8a3c\u8a8d\u53ef\u306e\u5b9f\u88c5<\/h3>\n\n\n\n<p>API Gateway + Cognito\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u3001\u30bb\u30ad\u30e5\u30a2\u306a\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u7ba1\u7406\u304c\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002\u6c7a\u6e08\u51e6\u7406\u306a\u3069\u91cd\u8981\u306a\u64cd\u4f5c\u306b\u306f\u591a\u8981\u7d20\u8a8d\u8a3c\u3092\u7d44\u307f\u8fbc\u307f\u3001\u30ab\u30b9\u30bf\u30e0\u30aa\u30fc\u30bd\u30e9\u30a4\u30b6\u30fc\u3067\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u3092\u304d\u3081\u7d30\u304b\u304f\u8a2d\u5b9a\u3002\u4e0d\u6b63\u5229\u7528\u306e\u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c7\u30fc\u30bf\u4fdd\u8b77\u306e\u57fa\u672c\u6226\u7565<\/h3>\n\n\n\n<p>\u6a5f\u5bc6\u6027\u306e\u9ad8\u3044\u30c7\u30fc\u30bf\u306fAWS KMS\u3067\u6697\u53f7\u5316\u3059\u308b\u306e\u304c\u57fa\u672c\u3067\u3059\u3002\u74b0\u5883\u5909\u6570\u306b\u8a8d\u8a3c\u60c5\u5831\u3092\u683c\u7d0d\u3059\u308b\u969b\u3082\u540c\u69d8\u3067\u3059\u3002DynamoDB\u3084S3\u306e\u30c7\u30fc\u30bf\u3082\u3001\u7528\u9014\u306b\u5fdc\u3058\u3066\u6697\u53f7\u5316\u3092\u691c\u8a0e\u3002\u300c\u6697\u53f7\u5316\u3057\u3066\u5f53\u7136\u300d\u3068\u3044\u3046\u610f\u8b58\u3067\u8a2d\u8a08\u3092\u9032\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u9593\u306e\u5b89\u5168\u306a\u901a\u4fe1<\/h3>\n\n\n\n<p>Lambda\u95a2\u6570\u540c\u58eb\u3092\u76f4\u63a5HTTP\u901a\u4fe1\u3067\u7e4b\u3050\u306e\u306f\u30ea\u30b9\u30af\u304c\u9ad8\u3044\u3082\u306e\u3002\u4ee3\u308f\u308a\u306bEventBridge\u3084SQS\u3068\u3044\u3063\u305f\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u5b89\u5168\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u57fa\u76e4\u304c\u69cb\u7bc9\u3067\u304d\u307e\u3059\u3002\u7279\u306b\u975e\u540c\u671f\u51e6\u7406\u3068\u306e\u76f8\u6027\u304c\u629c\u7fa4\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u76e3\u67fb\u8a3c\u8de1\u306e\u78ba\u4fdd<\/h3>\n\n\n\n<p>CloudTrail\u3068CloudWatchLogs\u3092\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3001\u8ab0\u304c\u4f55\u3092\u3057\u305f\u306e\u304b\u3001\u5b8c\u5168\u306a\u76e3\u67fb\u8a3c\u8de1\u304c\u6b8b\u305b\u307e\u3059\u3002\u4f8b\u3048\u3070\u300c\u6df1\u591c\u306b\u5927\u91cf\u306e\u30c7\u30fc\u30bf\u304c\u524a\u9664\u3055\u308c\u305f\u300d\u3068\u3044\u3063\u305f\u4e0d\u5be9\u306a\u64cd\u4f5c\u3082\u3001\u30ed\u30b0\u5206\u6790\u3067\u7d20\u65e9\u304f\u30ad\u30e3\u30c3\u30c1\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u8106\u5f31\u6027\u7ba1\u7406<\/h3>\n\n\n\n<p>npm\u3084Python\u306e\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306f\u3001\u65e2\u77e5\u306e\u8106\u5f31\u6027\u304c\u6f5c\u3093\u3067\u3044\u308b\u3053\u3068\u3082\u3002\u5b9a\u671f\u7684\u306a\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b9\u30ad\u30e3\u30f3\u3092\u7fd2\u6163\u5316\u3057\u3001\u554f\u984c\u306e\u3042\u308b\u4f9d\u5b58\u95a2\u4fc2\u306f\u65e9\u3081\u306b\u7279\u5b9a\u30fb\u4fee\u6b63\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001AWS CodeBuild\u306bGitHub Security Alerts\u3092\u7d44\u307f\u8fbc\u3080\u306e\u3082\u52b9\u679c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u5bfe\u5fdc\u306e\u81ea\u52d5\u5316<\/h3>\n\n\n\n<p>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u969b\u306e\u5bfe\u5fdc\u624b\u9806\u306f\u3001\u3067\u304d\u308b\u3060\u3051\u81ea\u52d5\u5316\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002Lambda\u95a2\u6570\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3068CloudFormation\u30b9\u30bf\u30c3\u30af\u306e\u5c65\u6b74\u3092\u6d3b\u7528\u3059\u308c\u3070\u3001\u554f\u984c\u306e\u3042\u308b\u30c7\u30d7\u30ed\u30a4\u3092\u5373\u5ea7\u306b\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u3067\u304d\u308b\u4f53\u5236\u304c\u6574\u3044\u307e\u3059\u3002\u300c\u624b\u9806\u66f8\u3092\u898b\u306a\u304c\u3089\u624b\u52d5\u3067\u623b\u3059\u300d\u3068\u3044\u3063\u305f\u5bfe\u5fdc\u306f\u907f\u3051\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n\n\n\n\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u30b5\u30fc\u30d0\u30ec\u30b9\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3001\u7279\u306bAWS\u306eLambda\u3092\u4e2d\u5fc3\u306b\u89e3\u8aac\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30a4\u30f3\u30d5\u30e9\u69cb\u7bc9\u4f5c\u696d\u304c\u4e0d\u8981\u306b\u306a\u3063\u305f\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u306b\u96c6\u4e2d\u3067\u304d\u308b\u30b5\u30fc\u30d0\u30ec\u30b9\u74b0\u5883\u3067\u306e\u958b\u767a\u306f\u3068\u3066\u3082\u9b45\u529b\u7684\u3067\u3059\u3002\u3067\u3059\u304c\u3001\u5411\u304d\u4e0d\u5411\u304d\u3084\u30c6\u30b9\u30c8\u3084\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306a\u3069\u904b\u7528\u9762\u3067\u3082\u3053\u308c\u307e\u3067\u306e\u30b5\u30fc\u30d0\u69cb\u7bc9\u3068\u7570\u306a\u308b\u77e5\u8b58\u304c\u5fc5\u8981\u306a\u9762\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u30c9\u30af\u30bb\u30eb\u306e\u30b9\u30e9\u30a4\u30c9\u3067\u305c\u3072\u5b66\u3093\u3067\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n\n\n\n<p>\u300c\u30b5\u30fc\u30d0\u30ec\u30b9\u300d\u306e\u30b9\u30e9\u30a4\u30c9\u4e00\u89a7\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/docswell.com\/search?q=%E3%82%B5%E3%83%BC%E3%83%90%E3%83%AC%E3%82%B9\">https:\/\/docswell.com\/search?q=%E3%82%B5%E3%83%BC%E3%83%90%E3%83%AC%E3%82%B9<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6025\u901f\u306b\u666e\u53ca\u304c\u9032\u3080\u30b5\u30fc\u30d0\u30ec\u30b9\u958b\u767a\u3002AWS\u306eLambda\u3092\u59cb\u3081\u3068\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u306b\u3088\u3063\u3066\u3001\u30a4\u30f3\u30d5\u30e9\u7ba1\u7406\u304b\u3089\u89e3\u653e\u3055\u308c\u3001\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u306b\u96c6\u4e2d\u3067\u304d\u308b\u958b\u767a\u30b9\u30bf\u30a4\u30eb\u304c\u6ce8\u76ee\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30ec\u30b9\u306e\u57fa\u790e\u77e5\u8b58\u304b\u3089\u5b9f\u8df5\u7684\u306a\u958b\u767a\u624b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":166,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3],"tags":[34,37,35,33,36],"class_list":["post-131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-dev","tag-aws-lambda","tag-aws","tag-cloud-computing","tag-serverless","tag-36"],"_links":{"self":[{"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":2,"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":136,"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/posts\/131\/revisions\/136"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/media\/166"}],"wp:attachment":[{"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.docswell.com\/magazine\/wp-json\/wp\/v2\/tags?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}