generated from moul/golang-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.yaml
37 lines (34 loc) · 780 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
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Globals:
Function:
Timeout: 5
Resources:
GuilhunizeFunction:
Type: AWS::Serverless::Function
Properties:
Handler: lambda-build/guilhunize
Runtime: go1.x
Tracing: Active
Events:
Request:
Type: Api
Properties:
Path: /api/guilhunize
Method: POST
QuoteFunction:
Type: AWS::Serverless::Function
Properties:
Handler: lambda-build/guilhunize
Runtime: go1.x
Tracing: Active
Events:
Request:
Type: Api
Properties:
Path: /api/quote
Method: GET
Outputs:
GraphmanAPI:
GuilhunizeFunction:
Value: !GetAtt GuilhunizeFunction.Arn