Question: Can colons and special characters be used in DynamoDB attributes?

Answered by Rafal Wilinski
Answer
Colons and special characters can be used in DynamoDB attribute names, but some restrictions exist. Attribute names cannot contain the following characters:
- forward slash (/)
- backslash ()
- period (.)
- pound sign (#)
- tilde (~)
- curly braces ({})
- angle brackets (<>)
Additionally, attribute names must start with a letter and can only contain letters, numbers, and the following characters: _ (underscore), - (hyphen), and . (dot).
Other Common DynamoDB FAQ (with Answers)
- Can DynamoDB store relational data?
- Can DynamoDB store documents?
- Do I need a middleware for DynamoDB?
- How many secondary indexes are allowed per table DynamoDB?
- Does DynamoDB charge for storage?
- How to store Japanese characters in DynamoDB?
- How many DynamoDB tables can I have at a maximum?
- Is DynamoDB real-time?
- Is DynamoDB distributed?
- How do you enable cloudtrail for DynamoDB?
- Why is DynamoDB so expensive?
- How to store location coordinates in DynamoDB?
- Which programming language works best with DynamoDB?
- What are the key differences between DynamoDB and Neo4j?
- What type of database is DynamoDB?
Tired of switching accounts and regions? Use Dynobase.
Start your 7-day free trial today
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase