awslocal dynamodb create-table \
--table-name ConnectionTable \
--attribute-definitions AttributeName=Username,AttributeType=S AttributeName=ConnectionId,AttributeType=S \
--key-schema AttributeName=Username,KeyType=HASH \
--provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1 \
--global-secondary-indexes \
"[
{
\"IndexName\": \"ConnectionIdIndex\",
\"KeySchema\": [
{
\"AttributeName\":\"ConnectionId\",
\"KeyType\":\"HASH\"
}
],
\"Projection\": {
\"ProjectionType\":\"ALL\"
},
\"ProvisionedThroughput\": {
\"ReadCapacityUnits\": 1,
\"WriteCapacityUnits\": 1
}
}
]"
-
Notifications
You must be signed in to change notification settings - Fork 0
kelvinmwinuka/aws-websockets
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple web socket implementation with AWS Lambda and API Gateway
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published