Skip to content

Instantly share code, notes, and snippets.

@balintsera
Last active November 11, 2018 18:05
Show Gist options
  • Save balintsera/caa2ca9fe4c94baba8528842cbdb9422 to your computer and use it in GitHub Desktop.
Save balintsera/caa2ca9fe4c94baba8528842cbdb9422 to your computer and use it in GitHub Desktop.
Example dynamoDB description
{
"Table": {
"AttributeDefinitions": [
{
"AttributeName": "label",
"AttributeType": "S"
},
{
"AttributeName": "listID",
"AttributeType": "S"
},
{
"AttributeName": "outOfStockDate",
"AttributeType": "N"
}
],
"TableName": "shopping_list",
"KeySchema": [
{
"AttributeName": "listID",
"KeyType": "HASH"
},
{
"AttributeName": "label",
"KeyType": "RANGE"
}
],
"TableStatus": "ACTIVE",
"CreationDateTime": 1541948694.648,
"ProvisionedThroughput": {
"NumberOfDecreasesToday": 0,
"ReadCapacityUnits": 5,
"WriteCapacityUnits": 5
},
"TableSizeBytes": 0,
"ItemCount": 0,
"TableArn": "secret!",
"TableId": "kjékjélkjélkj",
"LocalSecondaryIndexes": [
{
"IndexName": "listID-outOfStockDate-index",
"KeySchema": [
{
"AttributeName": "listID",
"KeyType": "HASH"
},
{
"AttributeName": "outOfStockDate",
"KeyType": "RANGE"
}
],
"Projection": {
"ProjectionType": "ALL"
},
"IndexSizeBytes": 0,
"ItemCount": 0,
"IndexArn": "secret"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment