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 have null values?
- Which programming language works best with DynamoDB?
- How do you enable cloudtrail for DynamoDB?
- Can Power BI connect to DynamoDB?
- Can Tableau connect to DynamoDB?
- Is DynamoDB OLTP or OLAP?
- Are DynamoDB table names supposed to be unique?
- In DynamoDB, can I use UUID as the partition key?
- How do I create an id in DynamoDB?
- Can we rename DynamoDB table?
- How to access DynamoDB from EC2?
- How is data stored in DynamoDB?
- Can DynamoDB trigger AWS Step Functions?
- What are the differences between DynamoDB and Snowflake?
- Are DynamoDB table names globally unique?
Better DynamoDB experience.
First 7 days are. No credit card needed.
Product Features
DynamoDB Tools
DynamoDB Info
© 2025 Dynobase