Skip to content

Lambda  >  Structures  >  CapacityProviderLoggingConfig

CapacityProviderLoggingConfig

Structure Class

CapacityProviderLoggingConfig dataclass

The capacity provider's Amazon CloudWatch Logs configuration settings.

Attributes

log_group class-attribute instance-attribute
log_group: str | None = None

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.

system_log_level class-attribute instance-attribute
system_log_level: SystemLogLevel | None = None

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.