-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.yaml
42 lines (40 loc) · 1.01 KB
/
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
42
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: >
kumo
Tropy Web Services Template
Globals:
Function:
Runtime: nodejs20.x
Resources:
ReleasesFunction:
Type: AWS::Serverless::Function
Metadata:
BuildMethod: makefile
Properties:
Handler: lib/releases/index.handler
Description: Tropy release data
Events:
ReleaseChannel:
Type: HttpApi
Properties:
Path: /releases/{channel}
Method: get
UpdateFunction:
Type: AWS::Serverless::Function
Metadata:
BuildMethod: makefile
Properties:
Handler: lib/update/index.handler
Description: Tropy update service
Events:
AutoUpdate:
Type: HttpApi
Properties:
Path: /update/{channel}/{platform}/{arch}/{version}
Method: get
AutoUpdateX64:
Type: HttpApi
Properties:
Path: /update/{channel}/{platform}/{version}
Method: get