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:
905
905
TOKEN_ID_ATTRIBUTE_NAME = 'token_id'
906
906
ISSUED_AT_TIMESTAMP_ATTRIBUTE_NAME = 'issued_at'
907
907
TIME_TO_LIVE_ATTRIBUTE_NAME = 'ttl'
908
+ CONTAINER_ID_AND_TRIGGER_COMPOSITE_ATTRIBUTE_NAME = 'container_id'
908
909
-%>
909
910
BlockedUsersTable:
910
911
Type: AWS::DynamoDB::Table
@@ -973,6 +974,21 @@ Resources:
973
974
AttributeName: <%= TIME_TO_LIVE_ATTRIBUTE_NAME%>
974
975
Enabled: true
975
976
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
+
976
992
HighUsersBlockedAlarm:
977
993
Type: AWS::CloudWatch::Alarm
978
994
Properties:
You can’t perform that action at this time.
0 commit comments