Last active
February 18, 2018 20:48
-
-
Save knil-sama/4696e886290d38b7b04771f7c1beb490 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| dynamodb = boto3.resource('dynamodb') | |
| table = dynamodb.create_table( | |
| TableName='fake_table', | |
| KeySchema=[ { 'AttributeName': 'id_key', 'KeyType': 'HASH' }, ], | |
| AttributeDefinitions=[ { 'AttributeName': 'id_key', 'AttributeType': 'S' }, ], | |
| ProvisionedThroughput={ 'ReadCapacityUnits': 10, 'WriteCapacityUnits': 10 } ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment