From 86e714f8b374f429b0f47181695d41921137c213 Mon Sep 17 00:00:00 2001 From: Mark Peek Date: Sat, 26 May 2018 13:59:38 -0700 Subject: [PATCH] Add PointInTimeRecoverySpecification to DynamoDB::Table --- troposphere/dynamodb.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/troposphere/dynamodb.py b/troposphere/dynamodb.py index 207102948..f1a3ac0d1 100644 --- a/troposphere/dynamodb.py +++ b/troposphere/dynamodb.py @@ -86,6 +86,12 @@ class LocalSecondaryIndex(AWSProperty): } +class PointInTimeRecoverySpecification(AWSProperty): + props = { + 'PointInTimeRecoveryEnabled': (boolean, False), + } + + class StreamSpecification(AWSProperty): props = { 'StreamViewType': (basestring, True), @@ -107,6 +113,8 @@ class Table(AWSObject): 'GlobalSecondaryIndexes': ([GlobalSecondaryIndex], False), 'KeySchema': ([KeySchema], True), 'LocalSecondaryIndexes': ([LocalSecondaryIndex], False), + 'PointInTimeRecoverySpecification': + (PointInTimeRecoverySpecification, False), 'ProvisionedThroughput': (ProvisionedThroughput, True), 'SSESpecification': (SSESpecification, False), 'StreamSpecification': (StreamSpecification, False),