add docseal

This commit is contained in:
2025-11-03 18:10:17 -03:00
parent d6c26df63b
commit eca3ac42dc
11 changed files with 205 additions and 8 deletions

View File

@@ -312,7 +312,7 @@ Resources:
Properties:
Handler: events.issue_cert.lambda_handler
Tracing: Active
Timeout: 30
Timeout: 12
LoggingConfig:
LogGroup: !Ref EventLog
Policies:
@@ -336,6 +336,33 @@ Resources:
old_image:
status: [IN_PROGRESS]
EventAskToSignFunction:
Type: AWS::Serverless::Function
Properties:
Handler: events.ask_to_sign.lambda_handler
Tracing: Active
Timeout: 12
Policies:
- S3ReadPolicy:
BucketName: !Ref BucketName
LoggingConfig:
LogGroup: !Ref EventLog
Events:
DynamoDBEvent:
Type: EventBridgeRule
Properties:
Pattern:
resources: [!Ref EnrollmentTable]
detail:
keys:
sk: ["0"]
new_image:
cert:
- exists: true
old_image:
cert:
- exists: false
EventReportingAppendCertFunction:
Type: AWS::Serverless::Function
Properties: