forked from aws-powertools/powertools-lambda-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.txt
38 lines (34 loc) · 1.23 KB
/
template.txt
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
AWSTemplateFormatVersion: '2010-09-09'
Metadata:
AWS::ServerlessRepo::Application:
Name: <SAR_APP_NAME>
Description: "AWS Lambda Layer for aws-lambda-powertools"
Author: AWS
SpdxLicenseId: Apache-2.0
LicenseUrl: <LAYER_CONTENT_PATH>/LICENSE
ReadmeUrl: <LAYER_CONTENT_PATH>/README.md
Labels: ['layer','lambda','powertools','python', 'aws']
HomePageUrl: https://github.com/awslabs/aws-lambda-powertools-python
SemanticVersion: <VERSION>
SourceCodeUrl: https://github.com/awslabs/aws-lambda-powertools-python
Transform: AWS::Serverless-2016-10-31
Description: AWS Lambda Layer for aws-lambda-powertools with python 3.9, 3.8 or 3.7
Resources:
LambdaLayer:
Type: AWS::Serverless::LayerVersion
Properties:
Description: "AWS Lambda Layer for aws-lambda-powertools version <VERSION>"
LayerName: <SAR_APP_NAME>
ContentUri: <LAYER_CONTENT_PATH>
CompatibleRuntimes:
- python3.9
- python3.8
- python3.7
LicenseInfo: 'Available under the Apache-2.0 license.'
RetentionPolicy: Retain
Outputs:
LayerVersionArn:
Description: ARN for the published Layer version
Value: !Ref LambdaLayer
Export:
Name: !Sub 'LayerVersionArn-${AWS::StackName}'