{"id":27015,"date":"2024-11-01T14:46:38","date_gmt":"2024-11-01T05:46:38","guid":{"rendered":"https:\/\/www.skyarch.net\/blog\/?p=27015"},"modified":"2024-11-01T14:46:38","modified_gmt":"2024-11-01T05:46:38","slug":"%e3%80%90%e5%b0%8f%e3%83%8d%e3%82%bf%e3%80%91cfnresponse%e3%81%8c%e8%a6%8b%e3%81%a4%e3%81%8b%e3%82%89%e3%81%aa%e3%81%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/%e3%80%90%e5%b0%8f%e3%83%8d%e3%82%bf%e3%80%91cfnresponse%e3%81%8c%e8%a6%8b%e3%81%a4%e3%81%8b%e3%82%89%e3%81%aa%e3%81%84%ef%bc%9f\/","title":{"rendered":"\u3010\u5c0f\u30cd\u30bf\u3011cfnresponse\u304c\u898b\u3064\u304b\u3089\u306a\u3044\uff1f"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002<br \/>\n\u5148\u65e5\u3001CloudFormation\u306e\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u3092Lambda\u3067\u4f5c\u6210\u3057\u3066\u3044\u305f\u6642\u306b\u30cf\u30de\u3063\u305f\u306e\u3067\u5171\u6709\u3067\u3059\u3002<\/p>\n<h1>\u30d7\u30ed\u30ed\u30fc\u30b0<\/h1>\n<p>CloudFormation\u306b\u306f\u3001\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e<a href=\"https:\/\/docs.aws.amazon.com\/AWSCloudFormation\/latest\/UserGuide\/template-custom-resources.html\">\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9<\/a>\u3068\u3044\u3046\u4ed5\u7d44\u307f\u304c\u3042\u308b\u306e\u306f\u3054\u5b58\u3058\u306e\u3053\u3068\u3068\u601d\u3044\u307e\u3059\u3002CloudFormation\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u306e\u5b9a\u7fa9\u3067\u3042\u308b<code>AWS::CloudFormation::CustomResource<\/code>(\u5916\u7bb1)\u3068\u3001\u305d\u306e\u52d5\u4f5c\u3092\u5b9f\u88c5\u3059\u308b\u5b9f\u4f53(\u4e2d\u8eab)\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u3001\u5916\u7bb1\u3068\u4e2d\u8eab\u304c\u9023\u643a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u5916\u7bb1\u304b\u3089\u4e2d\u8eab\u3078\u306e\u60c5\u5831\u9023\u643a\u306f\u4e2d\u8eab\u3092\u6307\u3057\u793a\u3059ARN\u304a\u3088\u3073\u5165\u529b\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3001\u4e2d\u8eab\u304b\u3089\u5916\u7bb1\u3078\u306e\u7d50\u679c\u5831\u544a\u306f\u30b5\u30fc\u30d3\u30b9\u30c8\u30fc\u30af\u30f3\u306b\u3088\u308a\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u4e2d\u8eab\u306b\u8a72\u5f53\u3059\u308b\u90e8\u5206\u306b\u3064\u3044\u3066\u306f\u3001Amazon SNS\u30c8\u30d4\u30c3\u30af\u3082\u3057\u304f\u306fAWS Lambda\u95a2\u6570\u306b\u3088\u308a\u5b9f\u88c5\u3059\u308b\u3053\u3068\u3068\u306a\u3063\u3066\u304a\u308a\u3001\u4eca\u56de\u3001\u81ea\u5206\u306fLambda\u95a2\u6570\u306b\u3088\u308a\u305d\u306e\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3057\u305f\u3002<br \/>\nLambda\u95a2\u6570\u306f\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3055\u307e\u3056\u307e\u306a\u30e9\u30f3\u30bf\u30a4\u30e0\u3067\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u4eca\u56de\u306fPython\u3092\u4f7f\u7528\u3057\u3066\u4f5c\u6210\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u6642\u306b\u8d77\u3053\u3063\u305f\u306e\u3067\u3059\u3002\u300c<code>cfnresponse<\/code>\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u300d\u3063\u3066\u8a00\u308f\u308c\u308b...\u3002<br \/>\n\u4f55\u304c\u8d77\u3053\u3063\u305f\u306e\u304b\u3088\u304f\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u8abf\u3079\u308b\u3064\u3044\u3067\u306b\u3061\u3087\u3063\u3068\u5b9f\u9a13\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h1>\u4ed5\u69d8\u3092\u77e5\u308b<\/h1>\n<p><a href=\"https:\/\/docs.aws.amazon.com\/AWSCloudFormation\/latest\/UserGuide\/cfn-lambda-function-code-cfnresponsemodule.html\">\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306b\u3088\u308c\u3070\u3053\u306e\u3088\u3046\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote>\n<p>cfn-response \u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001ZipFile \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u7528\u3057\u3066\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u305f\u5834\u5408\u306b\u306e\u307f\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002Amazon S3 \u30d0\u30b1\u30c3\u30c8\u306b\u4fdd\u5b58\u3055\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002\u30d0\u30b1\u30c3\u30c8\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u72ec\u81ea\u306e\u95a2\u6570\u3092\u4f5c\u6210\u3057\u3066\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u9001\u4fe1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/blockquote>\n<p>\u3064\u307e\u308a\u3001\u30ed\u30b8\u30c3\u30af\u3092Zip\u30d5\u30a1\u30a4\u30eb\u5316\u3057\u3066S3\u30d0\u30b1\u30c3\u30c8\u306b\u914d\u7f6e\u3057\u3066\u306e\u30c7\u30d7\u30ed\u30a4\u3067\u306f\u5229\u7528\u3067\u304d\u306a\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3002<\/p>\n<p>\u4f7f\u3044\u65b9\u306f\u540c\u3058\u304f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3088\u308a\u3002<\/p>\n<blockquote>\n<p>Python \u306e\u5834\u5408\u306f\u3001\u6b21\u306e\u4f8b\u306b\u793a\u3059\u3088\u3046\u306b\u3001import \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066 cfnresponse \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<pre>\nimport cfnresponse\n<\/pre>\n<p>Note: Use this exact import statement. If you use other variants of the import statement, CloudFormation doesn't include the response module.<br \/>\n\u6ce8\u8a18\uff1a\u3053\u306e\u5b8c\u5168\u30a4\u30f3\u30dd\u30fc\u30c8\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30a4\u30f3\u30dd\u30fc\u30c8\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4ed6\u306e\u5f62\u5f0f\u3067\u306f\u3001CloudFormation \u3067\u306f\u5fdc\u7b54\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u542b\u307e\u308c\u307e\u305b\u3093\u3002<\/p>\n<\/blockquote>\n<p>\u6700\u5f8c\u306e\u6587\u7ae0\u304c\u3088\u304f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\u3001\u300c\u307e\u3042\u3064\u307e\u308a\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308c\u3070\u4f7f\u3048\u308b\u3093\u3067\u3057\u3087\u300d\u3068\u3044\u3046\u3075\u3046\u306b\u3068\u3089\u3048\u3066\u304a\u304d\u307e\u3059\u3002\uff08\u3053\u308c\u304c\u843d\u3068\u3057\u7a74\u3060\u3063\u305f\u3068\u77e5\u308b\u3053\u3068\u306f\u5f53\u6642\u306f\u77e5\u308b\u7531\u3082\u306a\u304f...\uff09<\/p>\n<h1>\u8a66\u3057\u3066\u307f\u308b<\/h1>\n<p>\u3044\u3064\u3082\u901a\u308aCloudFormation\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\nPython\u30b3\u30fc\u30c9\u90e8\u5206\u4ee5\u5916\u306f\u5171\u901a\u3067\u3059\u306d\u3002IAM\u30ed\u30fc\u30eb\u306a\u3069\u306f\u5225\u9014\u4f5c\u3063\u3066\u3042\u308a\u307e\u3059\u306e\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u5316\u3057\u3066\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u30b3\u30fc\u30c9\u3092ZipFile\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u57cb\u3081\u8fbc\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u30b3\u30fc\u30c9\u306e\u7de8\u96c6\u306a\u3069\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u76f4\u63a5\u3044\u3058\u308b\u65b9\u6cd5\u3067\u884c\u3044\u307e\u3059\u3002<\/p>\n<pre>\n{\n    \"AWSTemplateFormatVersion\": \"2010-09-09\",\n    \"Parameters\": {\n        \"RoleArn\": { \"Type\": \"String\" }\n    },\n    \"Resources\": {\n        \"Function\": {\n            \"Type\": \"AWS::Lambda::Function\",\n            \"Properties\": {\n                \"Handler\": \"index.lambda_handler\",\n                \"Runtime\": \"python3.12\",\n                \"Role\": { \"Ref\": \"RoleArn\" },\n                \"Timeout\": 10,\n                \"Code\": { \"ZipFile\": { \"Fn::Join\": [ \"\\n\", [\n                    \"import boto3, cfnresponse\",\n                    \"import json\",\n                    \"\",\n                    \"def lambda_handler(event, context):\",\n                    \"    print('Hello, world!')\",\n                    \"\"\n                ] ] } }\n            }\n        }\n    }\n}\n<\/pre>\n<p>\u4ee5\u964d\u306e\u5404\u30d1\u30bf\u30fc\u30f3\u3067\u306fPython\u30b3\u30fc\u30c9\u90e8\u5206\u306e\u307f\u3092\u793a\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30ab\u30f3\u30de\u3067\u5217\u8a18\u3059\u308bPart1<\/h2>\n<p>python\u306f\u8907\u6570\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u3059\u3079\u3066\u666e\u901a\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3059\u308b\u5834\u5408\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u306e\u30ab\u30f3\u30de\u5217\u8a18\u304c\u53ef\u80fd\u306a\u306e\u3067\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre>\nimport json, boto3, cfnresponse\n\ndef lambda_handler(event, context):\n    print('Hello, world!')\n<\/pre>\n<p>\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\ncfnresponse\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3001\u3068\u304a\u6012\u308a\u3067\u3059\u3002<br \/>\n\u4e00\u56de\u8a00\u3063\u3066\u304f\u308c\u308c\u3070\u3044\u3044\u3068\u3053\u308d\u3001init\u30d5\u30a7\u30fc\u30ba\u3068invoke\u30d5\u30a7\u30fc\u30ba\u306e\u4e21\u65b9\u3067\u4e8c\u500d\u6012\u3089\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3060\u3051\u306f\u4e00\u7c92\u3067\u4e8c\u5ea6\u304a\u3044\u3057\u304f\u306a\u304f\u3066\u7d50\u69cb\u3067\u3059\u3002<\/p>\n<pre>\n[ERROR] Runtime.ImportModuleError: Unable to import module 'index': No module named 'cfnresponse'\nTraceback (most recent call last):INIT_REPORT Init Duration: 368.96 ms  Phase: init Status: error   Error Type: Runtime.ImportModuleError\n[ERROR] Runtime.ImportModuleError: Unable to import module 'index': No module named 'cfnresponse'\nTraceback (most recent call last):INIT_REPORT Init Duration: 4221.60 ms Phase: invoke   Status: error   Error Type: Runtime.ImportModuleError\n<\/pre>\n<h2>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30ab\u30f3\u30de\u3067\u5217\u8a18\u3059\u308bPart2<\/h2>\n<p>\u6700\u5f8c\u306b\u7f6e\u3044\u305f\u304b\u3089\u30c0\u30e1\u3060\u3063\u305f\u3093\u3067\u3059\u304b\uff1f<br \/>\n\u6700\u521d\u306b\u66f8\u3044\u3066\u3042\u3052\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>\nimport cfnresponse, json, boto3\n\ndef lambda_handler(event, context):\n    print('Hello, world!')\n<\/pre>\n<p>\u52d5\u3044\u3061\u3083\u3044\u307e\u3057\u305f\u3002<br \/>\n\u6210\u529f\u30d1\u30bf\u30fc\u30f3\u3092\u77e5\u3063\u3066\u3044\u308b\u524d\u63d0\u3067\u3053\u306e\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u306f\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u306f\u6b63\u76f4\u4e88\u60f3\u5916\u3067\u3057\u305f\u3002<\/p>\n<pre>\nHello, world!\n<\/pre>\n<h2>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u3072\u3068\u3064\u305a\u3064\u8aad\u307f\u8fbc\u3080<\/h2>\n<p>\u57fa\u672c\u306b\u7acb\u3061\u8fd4\u3063\u305f\u66f8\u304d\u65b9\u3082\u8a66\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre>\nimport cfnresponse\nimport json\nimport boto3\n\ndef lambda_handler(event, context):\n    print('Hello, world!')\n<\/pre>\n<p>\u3053\u308c\u306f\u4e88\u60f3\u901a\u308a\u3067\u3059\u3002\u5f53\u7136\u52d5\u304d\u307e\u3059\u3088\u306d(\u7b11)<\/p>\n<pre>\nHello, world!\n<\/pre>\n<h2>\u304a\u307e\u3051\uff1aNG\u30d1\u30bf\u30fc\u30f3\u3092OK\u30d1\u30bf\u30fc\u30f3\u306b\u5909\u3048\u3089\u308c\u308b\u304b<\/h2>\n<p>\u3053\u3053\u307e\u3067\u306e\u30c6\u30b9\u30c8\u306f\u3001\u3059\u3079\u3066\u300c\u65b0\u898f\u306b\u4f5c\u6210\u3057\u305fLambda\u95a2\u6570\u300d\u3067\u8a66\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u304a\u307e\u3051\u3068\u3057\u3066\u3001\u300cNG\u30d1\u30bf\u30fc\u30f3\u3067\u30c7\u30d7\u30ed\u30a4\u3057\u3061\u3083\u3063\u305f\u3051\u3069\u3001\u5f8c\u304b\u3089\u306e\u4e0a\u66f8\u304d\u3067\u52d5\u304f\u3088\u3046\u306b\u306a\u308b\u306e\u304b\u300d\u3092\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306f\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3067Lambda\u95a2\u6570\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n\u5148\u306b\u66f8\u3044\u305f\u5217\u8a18\u578bPart1\u3067\u3059\u306d\u3002<\/p>\n<pre>\nimport json, boto3, cfnresponse\n\ndef lambda_handler(event, context):\n    print('Hello, world!')\n<\/pre>\n<p>\u60f3\u5b9a\u901a\u308a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u540c\u3058\u5b9f\u9a13\u3092\u3057\u3066\u307e\u3059\u306e\u3067\u5f53\u7136\u3067\u3059\u304c\u3001\u3061\u3083\u3093\u3068\u518d\u73fe\u6027\u304c\u3042\u308a\u307e\u3059\u306d\u3002<\/p>\n<pre>\n[ERROR] Runtime.ImportModuleError: Unable to import module 'index': No module named 'cfnresponse'\nTraceback (most recent call last):INIT_REPORT Init Duration: 318.86 ms  Phase: init Status: error   Error Type: Runtime.ImportModuleError\n[ERROR] Runtime.ImportModuleError: Unable to import module 'index': No module named 'cfnresponse'\nTraceback (most recent call last):INIT_REPORT Init Duration: 3832.00 ms Phase: invoke   Status: error   Error Type: Runtime.ImportModuleError\n<\/pre>\n<p>\u3053\u3053\u304b\u3089\u3001\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067Lambda\u95a2\u6570\u306e\u30b3\u30fc\u30c9\u3092\u4e0b\u8a18\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<br \/>\n<code>import<\/code>\u90e8\u5206\u3092\u3044\u3058\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre>\nimport cfnresponse\nimport json\nimport boto3\n\ndef lambda_handler(event, context):\n    print('Hello, world!')\n<\/pre>\n<p>\u3053\u308c\u3067\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068...\u540c\u3058\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3057\u305f\u3002<br \/>\n\u3064\u307e\u308a\u3001\u66f8\u304d\u65b9\u3092\u9593\u9055\u3048\u305f\u304b\u3089\u3068\u8a00\u3063\u3066\u5f8c\u304b\u3089\u3044\u3058\u3063\u3066\u3082\u5f8c\u306e\u796d\u308a\u3067\u3001\u65b0\u898f\u4f5c\u6210\u6642\u306b\u8a8d\u8b58\u3057\u3066\u3082\u3089\u3048\u306a\u3044\u3068\u30c0\u30e1\u306a\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<pre>\n[ERROR] Runtime.ImportModuleError: Unable to import module 'index': No module named 'cfnresponse'\nTraceback (most recent call last):INIT_REPORT Init Duration: 136.60 ms  Phase: init Status: error   Error Type: Runtime.ImportModuleError\n[ERROR] Runtime.ImportModuleError: Unable to import module 'index': No module named 'cfnresponse'\nTraceback (most recent call last):INIT_REPORT Init Duration: 1420.06 ms Phase: invoke   Status: error   Error Type: Runtime.ImportModuleError\n<\/pre>\n<h1>\u307e\u3068\u3081<\/h1>\n<p>Python\u30e9\u30f3\u30bf\u30a4\u30e0\u3067\u306eLambda\u95a2\u6570\u306b\u304a\u3051\u308b<code>cfnresponse<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u66f8\u304d\u65b9\u306b\u3046\u308b\u3055\u3044\u3053\u3068\u304c\u3088\u304f\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u300c\u5b8c\u5168\u30a4\u30f3\u30dd\u30fc\u30c8\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u300d\u3068\u3044\u3046\u306e\u3082\u3001\u7d50\u679c\u3092\u77e5\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u306d\u3002\uff08\u3067\u3082\u82f1\u8a9e\u7248\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f&quot;Use this exact import statement&quot;\u3068\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001\u82f1\u8a9e\u7248\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8aad\u3093\u3067\u3044\u308c\u3070\u3082\u3046\u5c11\u3057\u65e9\u304f\u6b63\u89e3\u306b\u305f\u3069\u308a\u7740\u3051\u3066\u3044\u305f\u304b\u3082...\u3068\u3044\u3046\u306e\u306f\u53cd\u7701\u70b9\u3067\u3059\u306d\uff09<\/p>\n<p>\u307e\u305f\u3001\u300c\u6b63\u78ba\u306a\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u300d\u306b\u3064\u3044\u3066\u3067\u3059\u304c\u3001\u6700\u5f8c\u306e\u6539\u884c\u6587\u5b57\u307e\u3067\u8fbc\u307f\u3067\u898b\u3089\u308c\u3066\u3044\u308b\u306e\u304b\u3068\u601d\u3044\u304d\u3084\u3001\u5f8c\u308d\u306b\u7d9a\u304f\u5206\u306b\u306f\u554f\u984c\u306a\u304f\u3001\u300cimport cfnresponse\u300d\u306e\u9023\u7d9a\u3059\u308b17\u30d0\u30a4\u30c8\u304c\u5b58\u5728\u3057\u3066\u3044\u308c\u3070OK\u3068\u3044\u3046\u306e\u306f\u65b0\u305f\u306a\u767a\u898b\u3067\u3057\u305f\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u307e\u305f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002 \u5148\u65e5\u3001CloudFormation\u306e\u30ab\u30b9\u30bf\u30e0\u30ea\u30bd\u30fc\u30b9\u3092Lambda\u3067\u4f5c\u6210\u3057\u3066\u3044\u305f\u6642\u306b\u30cf\u30de\u3063\u305f\u306e\u3067\u5171\u6709\u3067\u3059\u3002 \u30d7\u30ed\u30ed\u30fc\u30b0 CloudFormation\u306b\u306f\u3001\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u30ea\u30bd\u30fc\u30b9\u30bf\u30a4\u30d7\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u30ab\u30b9\u30bf\u30e0&#8230;<\/p>\n","protected":false},"author":205,"featured_media":25659,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"https:\/\/www.skyarch.net\/blog\/?p=27015","footnotes":""},"categories":[20,1079],"tags":[],"class_list":{"0":"post-27015","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-aws","8":"category-cloudformation","9":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/27015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/205"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=27015"}],"version-history":[{"count":8,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/27015\/revisions"}],"predecessor-version":[{"id":27024,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/27015\/revisions\/27024"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/25659"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=27015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=27015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=27015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}