We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0252da6 commit ab2ad8dCopy full SHA for ab2ad8d
examples/tracer/sam/template.yaml
@@ -0,0 +1,23 @@
1
+AWSTemplateFormatVersion: "2010-09-09"
2
+Transform: AWS::Serverless-2016-10-31
3
+Description: AWS Lambda Powertools Tracer doc examples
4
+
5
+Globals:
6
+ Function:
7
+ Timeout: 5
8
+ Runtime: python3.9
9
+ Tracing: Active
10
+ Environment:
11
+ Variables:
12
+ POWERTOOLS_SERVICE_NAME: example
13
+ Layers:
14
+ # Find the latest Layer version in the official documentation
15
+ # https://awslabs.github.io/aws-lambda-powertools-python/latest/#lambda-layer
16
+ - !Sub arn:aws:lambda:${AWS::Region}:017000801446:layer:AWSLambdaPowertoolsPython:21
17
18
+Resources:
19
+ CaptureLambdaHandlerExample:
20
+ Type: AWS::Serverless::Function
21
+ Properties:
22
+ CodeUri: ../src
23
+ Handler: capture_lambda_handler.handler
0 commit comments