Search code examples
amazon-dynamodbdynamodb-queriesttl

what will happen when DynamoDB ttl is set as epoch timestamp in millisecond?


As per this documentation https://aws.amazon.com/premiumsupport/knowledge-center/ttl-dynamodb/ , the ttl must be set in seconds. but what will happen to the data if the ttl has been set incorrectly as ms while saving to dynamodb?

we have 5 months of data in dynamodb where ttl has been set incorrectly as 13 digit epoch timestamp(ms). Any inputs is much appreciated, Thanks in advance.


Solution

  • It’s a legit value you set, just very far in the future. If you can be super patient the problem will resolve itself in a few thousand years. ;)