Skip to content

Commit

Permalink
Add PointInTimeRecoverySpecification to DynamoDB::Table
Browse files Browse the repository at this point in the history
  • Loading branch information
markpeek committed May 26, 2018
1 parent fbcf388 commit 86e714f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions troposphere/dynamodb.py
Expand Up @@ -86,6 +86,12 @@ class LocalSecondaryIndex(AWSProperty):
}


class PointInTimeRecoverySpecification(AWSProperty):
props = {
'PointInTimeRecoveryEnabled': (boolean, False),
}


class StreamSpecification(AWSProperty):
props = {
'StreamViewType': (basestring, True),
Expand All @@ -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),
Expand Down

0 comments on commit 86e714f

Please sign in to comment.