-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.yaml
More file actions
24 lines (21 loc) · 827 Bytes
/
Copy pathtemplate.yaml
File metadata and controls
24 lines (21 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: Sample SAM Template for lambda layer
Resources:
MyLayer:
Type: AWS::Serverless::LayerVersion # More info: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlesslayerversion
Properties:
CompatibleRuntimes:
- python3.6
- python3.7
ContentUri: dist/
Description: A sample lambda layer
LayerName: my_layer
RetentionPolicy: Retain
LatestLayerVersionParameter:
Type: AWS::SSM::Parameter
Properties:
Description: The ARN of the latest layer version
Name: /Layers/MyLayer/Latest
Type: String
Value: !Ref MyLayer