Tables, attributes, and other objects in DynamoDB must have names. All names must be encoded using UTF-8, and are case-sensitive.
Table names and index names must be between 3 and 255 characters long, and can contain only the following characters:
- a-z
- A-Z
- 0-9
- _ (underscore)
-
- (dash)
- . (dot)
Attribute names must be between 1 and 255 characters long.
-
Scalar Types – A scalar type can represent exactly one value. The scalar types are number, string, binary, Boolean, and null.
-
Document Types – A document type can represent a complex structure with nested attributes, such as you would find in a JSON document. The document types are list and map.
-
Set Types – A set type can represent multiple scalar values. The set types are string set, number set, and binary set.
- https://hub.docker.com/r/amazon/dynamodb-local
- https://stackoverflow.com/questions/35428640/how-to-use-aws-cli-with-local-dynamodb/35468780#35468780
# Pull DynamoDb docker image and run it locally
➜ docker run -p 8000:8000 amazon/dynamodb-local
# Install awscli
➜ brew install awscli # For mac
# Configure AWS
➜ aws configure
AWS Access Key ID [******************]: **
AWS Secret Access Key [******************]: **
Default region name [US-EAST-1]: US-EAST-1
Default output format [**]: json
# List tables
➜ aws dynamodb list-tables --endpoint-url http://localhost:8000
{
"TableNames": []
}
- https://github.com/clarkie/dynogels
- https://github.com/dynamoosejs/dynamoose/
- https://github.com/awslabs/dynamodb-data-mapper-js
- https://github.com/shiftcode/dynamo-easy
- https://github.com/austinkelleher/dynograte
- https://github.com/mapbox/dynamodb-migrator
- https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingStarted.NodeJs.01.html
- https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html
- https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/dynamodb-example-table-read-write.html
- https://medium.com/quick-code/node-js-restful-api-with-dynamodb-local-7e342a934a24
- https://medium.com/@Keithweaver_/using-aws-dynamodb-using-node-js-fd17cf1724e0