View a markdown version of this page

AWS::Lambda::CapacityProvider CapacityProviderLoggingConfig - 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::CapacityProvider CapacityProviderLoggingConfig

The capacity provider's Amazon CloudWatch Logs configuration settings.

Syntax

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

JSON

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

YAML

LogGroup: String SystemLogLevel: String

Properties

LogGroup

The name of the Amazon CloudWatch log group the capacity provider sends logs to. By default, Lambda capacity providers send logs to a default log group named /aws/lambda/capacity-provider/<capacity provider name>. To use a different log group, enter an existing log group or enter a new log group name.

Required: No

Type: String

Pattern: [\.\-_/#A-Za-z0-9]+

Minimum: 1

Maximum: 512

Update requires: No interruption

SystemLogLevel

Set this property to filter the system logs for your capacity provider that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the highest level and WARN is the lowest.

Required: No

Type: String

Allowed values: DEBUG | INFO | WARN

Update requires: No interruption