AWS::Lambda::WebFunctionRevision LoggingConfig - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lambda::WebFunctionRevision LoggingConfig

The logging configuration for a web function revision.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "ApplicationLogLevel" : String, "LogGroup" : String, "SystemLogLevel" : String }

YAML

ApplicationLogLevel: String LogGroup: String SystemLogLevel: String

Properties

ApplicationLogLevel

The log level for application logs emitted by the web function. If you don't specify a value, the default is INFO.

Required: No

Type: String

Allowed values: TRACE | DEBUG | INFO | WARN | ERROR | FATAL

Update requires: Replacement

LogGroup

The name of the Amazon CloudWatch Logs log group the web function sends logs to. If you don't specify a value, the default is /aws/lambda/web/{functionName}.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9\.\-_/#]+$

Minimum: 1

Maximum: 500

Update requires: Replacement

SystemLogLevel

The log level for system logs emitted by the Lambda runtime. If you don't specify a value, the default is INFO.

Required: No

Type: String

Allowed values: DEBUG | INFO | WARN

Update requires: Replacement