mirror of
https://github.com/outbackdingo/xmidt.git
synced 2026-08-25 14:53:55 +00:00
an attempt
This commit is contained in:
@@ -31,10 +31,14 @@ if [[ $? -ne 0 ]]; then
|
|||||||
--table-name gifnoc \
|
--table-name gifnoc \
|
||||||
--attribute-definitions \
|
--attribute-definitions \
|
||||||
AttributeName=bucket,AttributeType=S \
|
AttributeName=bucket,AttributeType=S \
|
||||||
|
AttributeName=expires,AttributeType=N \
|
||||||
AttributeName=id,AttributeType=S \
|
AttributeName=id,AttributeType=S \
|
||||||
--key-schema \
|
--key-schema \
|
||||||
AttributeName=bucket,KeyType=HASH \
|
AttributeName=bucket,KeyType=HASH \
|
||||||
AttributeName=id,KeyType=RANGE \
|
AttributeName=id,KeyType=RANGE \
|
||||||
|
--global-secondary-indexes \
|
||||||
|
"[{\"IndexName\": \"Expires-index\",\"KeySchema\":[{\"AttributeName\":\"bucket\",\"KeyType\":\"HASH\"}, {\"AttributeName\":\"expires\",\"KeyType\":\"RANGE\"}], \
|
||||||
|
\"ProvisionedThroughput\": {\"ReadCapacityUnits\": 10, \"WriteCapacityUnits\": 5 },\"Projection\":{\"ProjectionType\":\"ALL\"}}]" \
|
||||||
--provisioned-throughput \
|
--provisioned-throughput \
|
||||||
ReadCapacityUnits=10,WriteCapacityUnits=5 \
|
ReadCapacityUnits=10,WriteCapacityUnits=5 \
|
||||||
--stream-specification StreamEnabled=true,StreamViewType=NEW_AND_OLD_IMAGES \
|
--stream-specification StreamEnabled=true,StreamViewType=NEW_AND_OLD_IMAGES \
|
||||||
|
|||||||
Reference in New Issue
Block a user