add cert pages

This commit is contained in:
2025-11-12 08:49:18 -03:00
parent fa87cf3e07
commit 850f620f78
16 changed files with 271 additions and 203 deletions

View File

@@ -27,6 +27,11 @@ app.include_router(revoke)
app.include_router(openid_configuration)
@app.get('/health')
def health():
return {'status': 'available'}
@logger.inject_lambda_context(correlation_id_path=correlation_paths.API_GATEWAY_HTTP)
@tracer.capture_lambda_handler
def lambda_handler(event: dict[str, Any], context: LambdaContext) -> dict[str, Any]:

View File

@@ -98,6 +98,12 @@ Resources:
Path: /userinfo
Method: GET
ApiId: !Ref HttpApi
Health:
Type: HttpApi
Properties:
Path: /health
Method: GET
ApiId: !Ref HttpApi
Outputs:
HttpApiUrl: