{"image_url":null,"url":"https://yuukiyg.hatenablog.jp/entry/2024/12/04/025955","title":"\u30e1\u30e2\uff1aDynamoDB\u3092json\u3067export & import","height":"190","blog_title":"YuukiYg's Blog","author_url":"https://blog.hatena.ne.jp/yuukiyg/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","description":"Export CLI\u3067\u843d\u3068\u3059 aws dynamodb scan --table-name \u30c6\u30fc\u30d6\u30eb\u540d > ./dynamodb.json Import Python\u3067\u5fa9\u5143 import boto3 import json from boto3.dynamodb.types import TypeDeserializer # DynamoDB \u306e\u30ea\u30bd\u30fc\u30b9\u3068\u30c6\u30fc\u30d6\u30eb\u540d\u3092\u6307\u5b9a dynamodb = boto3.resource('dynamodb') table_name = '\u30c6\u30fc\u30d6\u30eb\u540d' table = dynamodb.Table(table_name) deserializer = Typ\u2026","author_name":"yuukiyg","version":"1.0","published":"2024-12-04 02:59:55","width":"100%","blog_url":"https://yuukiyg.hatenablog.jp/","type":"rich","categories":["AWS","DB-DynamoDB"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuukiyg.hatenablog.jp%2Fentry%2F2024%2F12%2F04%2F025955\" title=\"\u30e1\u30e2\uff1aDynamoDB\u3092json\u3067export &amp; import - YuukiYg&#39;s Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}