Enum Level
- All Implemented Interfaces:
Serializable
,Comparable<Level>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-22T11:33:06.759Z")
@Stability(Stable)
public enum Level
extends Enum<Level>
The level of logging detail to include.
This applies to all log destinations for the event bus.
Example:
import software.amazon.awscdk.services.events.EventBus; import software.amazon.awscdk.services.events.IncludeDetail; import software.amazon.awscdk.services.events.Level; EventBus bus = EventBus.Builder.create(this, "Bus") .logConfig(LogConfig.builder() .includeDetail(IncludeDetail.FULL) .level(Level.TRACE) .build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionERROR: EventBridge sends any logs related to errors generated during event processing and target delivery.INFO: EventBridge sends any logs related to errors, as well as major steps performed during event processing.OFF: EventBridge does not send any logs.TRACE: EventBridge sends any logs generated during all steps in the event processing. -
Method Summary
-
Enum Constant Details
-
INFO
INFO: EventBridge sends any logs related to errors, as well as major steps performed during event processing. -
ERROR
ERROR: EventBridge sends any logs related to errors generated during event processing and target delivery. -
TRACE
TRACE: EventBridge sends any logs generated during all steps in the event processing. -
OFF
OFF: EventBridge does not send any logs.This is the default.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-