Last active
June 2, 2017 13:34
-
-
Save johncmckim/9bec3ee3ed07722eb1bd4335bcd80910 to your computer and use it in GitHub Desktop.
Garden Aid - IoT Hub - DynamoDB Table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MoistureData: | |
Type: AWS::DynamoDB::Table | |
DeletionPolicy: Retain | |
Properties: | |
TableName: moisture-data-${{opt:stage}} | |
AttributeDefinitions: | |
- | |
AttributeName: ClientId | |
AttributeType: S | |
- | |
AttributeName: Timestamp | |
AttributeType: S | |
KeySchema: | |
- | |
AttributeName: ClientId | |
KeyType: HASH | |
- | |
AttributeName: Timestamp | |
KeyType: RANGE | |
ProvisionedThroughput: | |
ReadCapacityUnits: 1 | |
WriteCapacityUnits: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment