{"categories":["AWS"],"type":"rich","title":"AWS Lambda \u3067 Amazon Redshift \u304b\u3089 S3 \u306b UNLOAD \u3059\u308b","version":"1.0","blog_url":"https://yohei-a.hatenablog.jp/","author_name":"yohei-a","provider_name":"Hatena Blog","blog_title":"ablog","url":"https://yohei-a.hatenablog.jp/entry/20200405/1586053151","description":"AWS Lambda \u3067 Amazon Redshift \u304b\u3089 S3 \u306b UNLOAD \u3057\u3066\u307f\u305f\u30e1\u30e2\u3002 \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u624b\u9806 Redshift \u30af\u30e9\u30b9\u30bf\u30fc\u3092\u4f5c\u6210\u3059\u308b\u3002 Redshift \u306b IAM \u30ed\u30fc\u30eb redshift-role \u3092\u4f5c\u6210\u3057\u3066\u30a2\u30bf\u30c3\u30c1\u3059\u308b\u3002 arn:aws:iam::aws:policy/AmazonS3FullAccess \u30dd\u30ea\u30b7\u30fc\u3092\u30a2\u30bf\u30c3\u30c1\u3057\u305f IAM \u30ed\u30fc\u30eb S3\u30d0\u30b1\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3002 s3://redshift-unload-by-lambda GitHub - jkehler/awslambda-psycopg2 \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002 lambda_function.py\u2026","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/yohei-a/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20200405%2F1586053151\" title=\"AWS Lambda \u3067 Amazon Redshift \u304b\u3089 S3 \u306b UNLOAD \u3059\u308b - ablog\" 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%","published":"2020-04-05 11:19:11","height":"190","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/y/yohei-a/20200405/20200405120256.png"}