-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.yaml
41 lines (38 loc) · 872 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: >
dhall-app
Globals:
Function:
Timeout: 3
Resources:
DhallFunction:
Type: AWS::Serverless::Function
Properties:
Handler: handler
Runtime: provided
CodeUri: 'function.zip'
Layers:
- !Ref DhallLayer
Description: >
A simple dhall function
DhallLayer:
Type: AWS::Serverless::LayerVersion
Properties:
LayerName: sam-app-dependencies
Description: Dhall dependencies
ContentUri: dhall.tar.bz2
CompatibleRuntimes:
- nodejs10.x
- nodejs8.10
- python3.7
- python3.6
- python2.7
- ruby2.5
- java8
- go1.x
- dotnetcore2.1
- dotnetcore1.0
- provided
LicenseInfo: 'MIT'
RetentionPolicy: Retain