File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ Resources:
148
148
DestinationConfig :
149
149
OnFailure :
150
150
Type : SQS
151
+ Destination : !GetAtt PublicationEvaluationEventHandlerDLQ.Arn
151
152
Events :
152
153
ApprovalEvent :
153
154
Type : EventBridgeRule
@@ -293,6 +294,23 @@ Resources:
293
294
- Key : namespace
294
295
Value : " {{resolve:ssm:/uni-prop/UnicornWebNamespace}}"
295
296
297
+ # DeadLetterQueue for PublicationEvaluationEventHandler. Contains messages that failed to be processed
298
+ PublicationEvaluationEventHandlerDLQ :
299
+ Type : AWS::SQS::Queue
300
+ UpdateReplacePolicy : Delete
301
+ DeletionPolicy : Delete
302
+ Properties :
303
+ SqsManagedSseEnabled : true
304
+ MessageRetentionPeriod : 1209600 # Maximum value, 1,209,600 (14days)
305
+ QueueName : !Sub PublicationEvaluationEventHandlerDLQ-${Stage}
306
+ Tags :
307
+ - Key : stage
308
+ Value : !Ref Stage
309
+ - Key : project
310
+ Value : !FindInMap [Constants, ProjectName, Value]
311
+ - Key : namespace
312
+ Value : " {{resolve:ssm:/uni-prop/UnicornWebNamespace}}"
313
+
296
314
# #### DYNAMODB
297
315
# Persists Property details in DynamoDB
298
316
PropertiesTable :
You can’t perform that action at this time.
0 commit comments