Created
April 21, 2017 00:07
-
-
Save kojiisd/00cd87e62fc12c8d994f4a8f0ff2922c to your computer and use it in GitHub Desktop.
DynamoDB Local Viewerに機能追加(スキーマ情報取得、ソート・フィルタ、データ削除) ref: http://qiita.com/kojiisd/items/807eca1ce556db2bb932
This file contains 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
CreateTableRequest createRequest = new CreateTableRequest().withTableName(tableName) | |
.withAttributeDefinitions(describeResult.getTable().getAttributeDefinitions()) | |
.withKeySchema(describeResult.getTable().getKeySchema()) | |
.withProvisionedThroughput(new ProvisionedThroughput() | |
.withReadCapacityUnits(describeResult.getTable().getProvisionedThroughput().getReadCapacityUnits()) | |
.withWriteCapacityUnits(describeResult.getTable().getProvisionedThroughput().getWriteCapacityUnits())); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment