22 lines
445 B
YAML
22 lines
445 B
YAML
|
|
AWSTemplateFormatVersion: '2010-09-09'
|
||
|
|
Transform: AWS::Serverless-2016-10-31
|
||
|
|
Description: Go Lambda API deployed with AWS SAM
|
||
|
|
|
||
|
|
Globals:
|
||
|
|
Function:
|
||
|
|
Timeout: 10
|
||
|
|
|
||
|
|
Resources:
|
||
|
|
ApiFunction:
|
||
|
|
Type: AWS::Serverless::Function
|
||
|
|
Properties:
|
||
|
|
FunctionName: legalgo-api
|
||
|
|
Handler: main
|
||
|
|
Runtime: go1.x
|
||
|
|
CodeUri: .
|
||
|
|
Events:
|
||
|
|
Api:
|
||
|
|
Type: Api
|
||
|
|
Properties:
|
||
|
|
Path: /
|
||
|
|
Method: ANY
|