Last active
April 3, 2020 19:06
-
-
Save georgmao/8734f9f88e87fa8f0470bd26db23d492 to your computer and use it in GitHub Desktop.
layers sam template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myFunction: | |
Type: AWS::Serverless::Function | |
Properties: | |
Handler: test.handler | |
Runtime: nodejs12.x | |
Timeout: 3 | |
Layers: | |
- Ref: MyLayer | |
MyLayer: | |
Type: AWS::Serverless::LayerVersion | |
Properties: | |
LayerName: MyLayer | |
Description: Layer description | |
ContentUri: 'mylayer/' | |
CompatibleRuntimes: | |
- nodejs12.x | |
LicenseInfo: 'Available under the MIT-0 license.' | |
RetentionPolicy: Retain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment