File size: 1,349 Bytes
4021124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
42
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/aws-powertools/powertools-lambda-python
    SemanticVersion: <VERSION>
    SourceCodeUrl: https://github.com/aws-powertools/powertools-lambda-python

Transform: AWS::Serverless-2016-10-31
Description: AWS Lambda Layer for aws-lambda-powertools with python 3.13, 3.12, 3.11, 3.10, 3.9 or 3.8

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.13
        - python3.12
        - python3.11
        - python3.10
        - python3.9
        - python3.8
      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}'