add cert pages
This commit is contained in:
@@ -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]:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user