add patch

This commit is contained in:
2025-07-17 23:50:28 -03:00
parent 6eafb0f541
commit 5df126c605
5 changed files with 142 additions and 1 deletions

View File

@@ -62,6 +62,30 @@ Resources:
new_image:
sk: ["0"]
EventPatchKonvivaFunction:
Type: AWS::Serverless::Function
Properties:
Handler: events.stopgap.patch_konviva.lambda_handler
LoggingConfig:
LogGroup: !Ref EventLog
Policies:
- DynamoDBWritePolicy:
TableName: !Ref EnrollmentTable
- DynamoDBReadPolicy:
TableName: !Ref UserTable
- DynamoDBReadPolicy:
TableName: !Ref CourseTable
Events:
DynamoDBEvent:
Type: EventBridgeRule
Properties:
Pattern:
resources: [!Ref EnrollmentTable]
detail-type: [INSERT]
detail:
new_image:
sk: ["0"]
EventAllocateSlotsFunction:
Type: AWS::Serverless::Function
Properties: