Search code examples
amazon-web-servicesamazon-dynamodbaws-cloudformationconsistency

How to set DynamoDB read consistency in CloudFormation


Is there a way to set DynamoDB read consistency (eventually vs strongly) mode in CloudFormation? I couldn't find how to do it in CF doc, but couldn't find a clear saying that CF does NOT support it either.

Thanks!


Solution

  • This is not part of CloudFormation nor is it part of table schema definition.

    Read Consistency is a flag you add when querying the data;

    Global Secondary Indexes do not support strong consistent reads at all;