add download cert

This commit is contained in:
2025-11-18 16:58:15 -03:00
parent a96dcb3e96
commit cd5f96210f
13 changed files with 417 additions and 23 deletions

View File

@@ -52,14 +52,14 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
)
# Schedule the event to add `access_expired` after the access period ends
transact.put(
item={
'id': enrollment_id,
'sk': 'SCHEDULE#SET_ACCESS_EXPIRED',
'created_at': now_,
'ttl': ttl(start_dt=now_, days=access_period),
},
)
# transact.put(
# item={
# 'id': enrollment_id,
# 'sk': 'SCHEDULE#SET_ACCESS_EXPIRED',
# 'created_at': now_,
# 'ttl': ttl(start_dt=now_, days=access_period),
# },
# )
transact.put(
item={