View a markdown version of this page

AWS::Lambda::WebFunctionRevision LoggingConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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

AWS::Lambda::WebFunctionRevision LoggingConfig

The logging configuration for a web function revision.

Syntax

To declare this entity in your Amazon 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