Enum FieldLogLevel
- All Implemented Interfaces:
Serializable
,Comparable<FieldLogLevel>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:14.666Z")
@Stability(Stable)
public enum FieldLogLevel
extends Enum<FieldLogLevel>
log-level for fields in AppSync.
Example:
import software.amazon.awscdk.services.logs.*; GraphqlApi.Builder.create(this, "api") .authorizationConfig(AuthorizationConfig.builder().build()) .name("myApi") .definition(Definition.fromFile(join(__dirname, "myApi.graphql"))) .logConfig(LogConfig.builder() .fieldLogLevel(FieldLogLevel.INFO) .retention(RetentionDays.ONE_WEEK) .build()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FieldLogLevel
Returns the enum constant of this type with the specified name.static FieldLogLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Resolver logging is disabled. -
ERROR
Only Error messages appear in logs. -
INFO
Info and Error messages appear in logs. -
DEBUG
Debug, Info, and Error messages, appear in logs. -
ALL
All messages (Debug, Error, Info, and Trace) appear in logs.
-
-
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
-