Files
swift-aws-lambda-runtime/Examples/JSONLogging/template.yaml
T

25 lines
648 B
YAML

AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: JSON Logging Example
Resources:
JSONLoggingFunction:
Type: AWS::Serverless::Function
Properties:
CodeUri: .build/plugins/AWSLambdaPackager/outputs/AWSLambdaPackager/JSONLogging/JSONLogging.zip
Timeout: 60
Handler: swift.bootstrap
Runtime: provided.al2023
MemorySize: 128
Architectures:
- arm64
LoggingConfig:
LogFormat: JSON
ApplicationLogLevel: DEBUG
SystemLogLevel: INFO
Outputs:
FunctionName:
Description: Lambda Function Name
Value: !Ref JSONLoggingFunction