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 a DynamoDB range key be a GSI key?
- How to import data from S3 to DynamoDB?
- Can DynamoDB have null values?
- What are the differences between DynamoDB and Snowflake?
- Are DynamoDB table names globally unique?
- Why is DynamoDB better than MongoDB?
- Can Power BI connect to DynamoDB?
- Will I be charged for DynamoDB is it is inactive?
- What are the best alternatives to DynamoDB?
- What are the key differences between DynamoDB and Neo4j?
- How to access DynamoDB from EC2?
- Can DynamoDB store images?
- How do I create an id in DynamoDB?
- Can firehose write to DynamoDB?
- Does DynamoDB support load balancing?
Tired of switching accounts and regions? Use Dynobase.
Start your 7-day free trial today
Product Features
DynamoDB Tools
DynamoDB Info
© 2026 Dynobase