Skip to content

Commit

Permalink
Changing TableName to use CharForeignProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Lyons committed Jul 3, 2018
1 parent c714317 commit 7b4d97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sammy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ class DynamoDBTable(Resource):
_resource_type = "AWS::DynamoDB::Table"

AttributeDefinitions = ListProperty(required=True)
TableName = CharProperty(SAMSchema, required=True)
TableName = CharForeignProperty(SAMSchema, required=True)
GlobalSecondaryIndexes = ListProperty()
KeySchema = ListProperty(required=True)
LocalSecondaryIndexes = ListProperty()
Expand Down

0 comments on commit 7b4d97d

Please sign in to comment.