Skip to content

Commit e97f447

Browse files
committed
refactor: renaming Unicorn Web resource names for PublicationEvaluationEventHandler
1 parent dd86e1e commit e97f447

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

unicorn_web/template.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Resources:
135135
RetentionInDays: !FindInMap [LogsRetentionPeriodMap, !Ref Stage, Days]
136136

137137
# Respond to PublicationEvaluationCompleted events from Unicorn Web EventBus
138-
PublicationApprovedEventHandlerFunction:
138+
PublicationEvaluationEventHandlerFunction:
139139
Type: AWS::Serverless::Function
140140
Properties:
141141
CodeUri: PublicationManagerService
@@ -159,13 +159,13 @@ Resources:
159159
detail-type:
160160
- PublicationEvaluationCompleted
161161

162-
# Log group for the PublicationApprovedEventHandlerFunction
163-
PublicationApprovedEventHandlerFunctionLogGroup:
162+
# Log group for the PublicationEvaluationEventHandlerFunction
163+
PublicationEvaluationEventHandlerFunctionLogGroup:
164164
Type: AWS::Logs::LogGroup
165165
UpdateReplacePolicy: Delete
166166
DeletionPolicy: Delete
167167
Properties:
168-
LogGroupName: !Sub "/aws/lambda/${PublicationApprovedEventHandlerFunction}"
168+
LogGroupName: !Sub "/aws/lambda/${PublicationEvaluationEventHandlerFunction}"
169169
RetentionInDays: !FindInMap [LogsRetentionPeriodMap, !Ref Stage, Days]
170170

171171
#### API GATEWAY REST API
@@ -483,9 +483,9 @@ Outputs:
483483
RequestApprovalFunctionArn:
484484
Description: Approval function ARN
485485
Value: !GetAtt RequestApprovalFunction.Arn
486-
PublicationApprovedEventHandlerFunctionArn:
486+
PublicationEvaluationEventHandlerFunctionArn:
487487
Description: Publication evaluation event handler function ARN
488-
Value: !GetAtt PublicationApprovedEventHandlerFunction.Arn
488+
Value: !GetAtt PublicationEvaluationEventHandlerFunction.Arn
489489

490490
#### EVENT BRIDGE OUTPUTS
491491
UnicornWebEventBusName:

0 commit comments

Comments
 (0)