File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -906,6 +906,7 @@ Resources:
906906 TOKEN_ID_ATTRIBUTE_NAME = 'token_id'
907907 ISSUED_AT_TIMESTAMP_ATTRIBUTE_NAME = 'issued_at'
908908 TIME_TO_LIVE_ATTRIBUTE_NAME = 'ttl'
909+ CONTAINER_ID_AND_TRIGGER_COMPOSITE_ATTRIBUTE_NAME = 'container_id'
909910-%>
910911 BlockedUsersTable:
911912 Type: AWS::DynamoDB::Table
@@ -974,6 +975,18 @@ Resources:
974975 AttributeName: <%= TIME_TO_LIVE_ATTRIBUTE_NAME%>
975976 Enabled: true
976977
978+ UnhealthyContainersTable:
979+ Type: AWS::DynamoDB::Table
980+ Properties:
981+ TableName: !Sub "${SubDomainName}_unhealthy_containers"
982+ KeySchema:
983+ - AttributeName: <%= CONTAINER_ID_AND_TRIGGER_COMPOSITE_ATTRIBUTE_NAME%>
984+ KeyType: HASH
985+ BillingMode: PAY_PER_REQUEST
986+ AttributeDefinitions:
987+ - AttributeName: <%= CONTAINER_ID_AND_TRIGGER_COMPOSITE_ATTRIBUTE_NAME %>
988+ AttributeType: S
989+
977990 HighUsersBlockedAlarm:
978991 Type: AWS::CloudWatch::Alarm
979992 Properties:
You can’t perform that action at this time.
0 commit comments