Interface CfnCapacityProvider.CapacityProviderLoggingConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCapacityProvider.CapacityProviderLoggingConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCapacityProvider
@Stability(Stable)
public static interface CfnCapacityProvider.CapacityProviderLoggingConfigProperty
extends software.amazon.jsii.JsiiSerializable
The capacity provider's Amazon CloudWatch Logs configuration settings.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lambda.*;
CapacityProviderLoggingConfigProperty capacityProviderLoggingConfigProperty = CapacityProviderLoggingConfigProperty.builder()
.logGroup("logGroup")
.systemLogLevel("systemLogLevel")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnCapacityProvider.CapacityProviderLoggingConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogGroup
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.- See Also:
-
getSystemLogLevel
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
DEBUGis the highest level andWARNis the lowest.- See Also:
-
builder
@Stability(Stable) static CfnCapacityProvider.CapacityProviderLoggingConfigProperty.Builder builder()
-