-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.yaml
41 lines (37 loc) · 948 Bytes
/
template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
AWSTemplateFormatVersion : '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: My first serverless application.
Resources:
GetToken:
Type: AWS::Serverless::Function
Properties:
Handler: getToken.getToken
Runtime: nodejs8.10
Events:
authToken:
Type: Api
Properties:
Path: /getToken
Method: any
GetPatientInformation:
Type: AWS::Serverless::Function
Properties:
Handler: getPatientInformation.getPatientInformation
Runtime: nodejs8.10
Events:
authToken:
Type: Api
Properties:
Path: /getPatientInformation
Method: any
UploadFile:
Type: AWS::Serverless::Function
Properties:
Handler: uploadFile.uploadFile
Runtime: nodejs8.10
Events:
authToken:
Type: Api
Properties:
Path: /uploadFile
Method: any