Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
fix: Reduced lambda timeout so it's below API gateway timeout (#625)
Browse files Browse the repository at this point in the history
* Reduced lambda timeout so it's below API gateway timeout

* Empty commit to kick off checks

Co-authored-by: msteve-tokzu <macstevens@tokzu.com>
  • Loading branch information
techiemac and msteve-tokzu committed May 17, 2022
1 parent 6bfd49b commit 4b0fdf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
FHIR Works on AWS is a framework that can be used to deploy a [FHIR server](https://www.hl7.org/fhir/overview.html) on AWS. Using this framework, you can customize and add different FHIR functionality to best serve your use cases. When deploying this framework, by default [Cognito and role based access control](https://github.com/awslabs/fhir-works-on-aws-authz-rbac) is used. However, if preferred, you can be authenticated and authorized to access the FHIR server’s resources by using [SMART](https://github.com/awslabs/fhir-works-on-aws-authz-smart) instead of Cognito. Cognito is the default AuthN/AuthZ provider because it is easier to configure than SMART. It doesn’t require setting up a separate IDP server outside of AWS as compared to SMART. However, Cognito authentication is not granular. When a new user is created, it is assigned into the auditor, practitioner, or non-practitioner groups. Depending on the group, the user gets access to different groups of FHIR resources.
The AuthN/Z providers are defined in `package.json` and `config.ts`. You can choose appropriate providers. SMART allows greater granularity into authentication than Cognito and is the FHIR standard. It allows you to access a FHIR record only if that record has reference to the user.


## FHIR Works on AWS features

FHIR Works on AWS utilizes AWS Lambda, Amazon DynamoDB, Amazon S3 and Amazon Elasticsearch Service to provide the following FHIR features:
Expand Down
2 changes: 1 addition & 1 deletion serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ provider:

functions:
fhirServer:
timeout: 40
timeout: 29
description: 'FHIR API Server'
role: FhirServerLambdaRole
events:
Expand Down

0 comments on commit 4b0fdf6

Please sign in to comment.