Download testbed/aws-powertools__powertools-lambda-python/benchmark/template.yaml from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/aws-powertools__powertools-lambda-python/benchmark/template.yaml
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/aws-powertools__powertools-lambda-python/benchmark/template.yaml
-
curl -L -o template.yaml https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/aws-powertools__powertools-lambda-python/benchmark/template.yaml
1.18 kB
| AWSTemplateFormatVersion: '2010-09-09' | |
| Transform: AWS::Serverless-2016-10-31 | |
| Globals: | |
| Function: | |
| Handler: main.handler | |
| Runtime: python3.8 | |
| MemorySize: 128 | |
| Tracing: Active | |
| Environment: | |
| Variables: | |
| POWERTOOLS_SERVICE_NAME: benchmark | |
| POWERTOOLS_METRICS_NAMESPACE: LambdaPowertools | |
| POWERTOOLS_LOGGER_LOG_EVENT: "true" | |
| POWERTOOLS_LOG_LEVEL: INFO | |
| Resources: | |
| InstrumentedFunction: | |
| Type: AWS::Serverless::Function | |
| Properties: | |
| CodeUri: ./src/instrumented/ | |
| ReferenceFunction: | |
| Type: AWS::Serverless::Function | |
| Properties: | |
| CodeUri: ./src/reference/ | |
| InstrumentedLogGroup: | |
| Type: AWS::Logs::LogGroup | |
| Properties: | |
| LogGroupName: !Sub "/aws/lambda/${InstrumentedFunction}" | |
| RetentionInDays: 7 | |
| ReferenceLogGroup: | |
| Type: AWS::Logs::LogGroup | |
| Properties: | |
| LogGroupName: !Sub "/aws/lambda/${ReferenceFunction}" | |
| RetentionInDays: 7 | |
| Outputs: | |
| InstrumentedFunction: | |
| Value: !Ref InstrumentedFunction | |
| ReferenceFunction: | |
| Value: !Ref ReferenceFunction | |
| InstrumentedLogGroup: | |
| Value: !Ref InstrumentedLogGroup | |
| ReferenceLogGroup: | |
| Value: !Ref ReferenceLogGroup | |