CloudFormation - Support DynamoDB Streams

This commit is contained in:
Bert Blommers 2020-06-04 07:45:00 +01:00
commit a66b0e5b1a
2 changed files with 9 additions and 0 deletions

View file

@ -342,6 +342,8 @@ class Table(BaseModel):
params["throughput"] = properties["ProvisionedThroughput"]
if "LocalSecondaryIndexes" in properties:
params["indexes"] = properties["LocalSecondaryIndexes"]
if "StreamSpecification" in properties:
params["streams"] = properties["StreamSpecification"]
table = dynamodb_backends[region_name].create_table(
name=properties["TableName"], **params