java.lang.Object
java.lang.Enum<LogLevel>
software.amazon.awscdk.services.pipes.alpha.LogLevel
All Implemented Interfaces:
Serializable, Comparable<LogLevel>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-15T10:25:09.561Z") @Stability(Experimental) public enum LogLevel extends Enum<LogLevel>
(experimental) Log configuration for a pipe.

Example:

 Queue sourceQueue;
 Queue targetQueue;
 LogGroup loggroup;
 Pipe pipe = Pipe.Builder.create(this, "Pipe")
         .source(new SqsSource(sourceQueue))
         .target(new SqsTarget(targetQueue))
         .logLevel(LogLevel.TRACE)
         .logIncludeExecutionData(List.of(IncludeExecutionData.ALL))
         .logDestinations(List.of(
             new CloudwatchDestination(loggroup)))
         .build();
 

See Also:
  • Enum Constant Details

    • OFF

      @Stability(Experimental) public static final LogLevel OFF
      (experimental) No logging.
    • ERROR

      @Stability(Experimental) public static final LogLevel ERROR
      (experimental) Log only errors.
    • INFO

      @Stability(Experimental) public static final LogLevel INFO
      (experimental) Log errors, warnings, and info.
    • TRACE

      @Stability(Experimental) public static final LogLevel TRACE
      (experimental) Log everything.
  • Method Details

    • values

      public static LogLevel[] 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

      public static LogLevel valueOf(String name)
      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 name
      NullPointerException - if the argument is null