Skip to content

Commit

Permalink
build: aggregated table indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
YutaroNegi committed Dec 1, 2024
1 parent 3ecc076 commit e68718c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ Resources:
SensorFlowAggregatedTable:
Type: AWS::DynamoDB::Table
Properties:
TableName: !Sub "sensor-flow-aggregated-table-${Env}"
TableName: !Sub "sensor-flow-aggregated-${Env}"
BillingMode: PAY_PER_REQUEST
AttributeDefinitions:
- AttributeName: id
- AttributeName: equipmentId
AttributeType: S
- AttributeName: intervalStartTime
AttributeType: N
- AttributeName: partitionKey
AttributeType: S
KeySchema:
- AttributeName: id
- AttributeName: equipmentId
KeyType: HASH
- AttributeName: intervalStartTime
KeyType: RANGE
Expand Down

0 comments on commit e68718c

Please sign in to comment.