File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -905,6 +905,7 @@ Resources:
905905 TOKEN_ID_ATTRIBUTE_NAME = 'token_id'
906906 ISSUED_AT_TIMESTAMP_ATTRIBUTE_NAME = 'issued_at'
907907 TIME_TO_LIVE_ATTRIBUTE_NAME = 'ttl'
908+ CONTAINER_ID_AND_TRIGGER_COMPOSITE_ATTRIBUTE_NAME = 'container_id'
908909-%>
909910 BlockedUsersTable:
910911 Type: AWS::DynamoDB::Table
@@ -973,6 +974,21 @@ Resources:
973974 AttributeName: <%= TIME_TO_LIVE_ATTRIBUTE_NAME%>
974975 Enabled: true
975976
977+ UnhealthyContainersTable:
978+ Type: AWS::DynamoDB::Table
979+ Properties:
980+ TableName: !Sub "${SubDomainName}_unhealthy_containers"
981+ KeySchema:
982+ - AttributeName: <%= CONTAINER_ID_AND_TRIGGER_COMPOSITE_ATTRIBUTE_NAME%>
983+ KeyType: HASH
984+ BillingMode: PAY_PER_REQUEST
985+ AttributeDefinitions:
986+ - AttributeName: <%= CONTAINER_ID_AND_TRIGGER_COMPOSITE_ATTRIBUTE_NAME%>
987+ AttributeType: S
988+ TimeToLiveSpecification:
989+ AttributeName: <%= TIME_TO_LIVE_ATTRIBUTE_NAME %>
990+ Enabled: true
991+
976992 HighUsersBlockedAlarm:
977993 Type: AWS::CloudWatch::Alarm
978994 Properties:
You can’t perform that action at this time.
0 commit comments