Interface LogConfig

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
LogConfig.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.548Z") @Stability(Experimental) public interface LogConfig extends software.amazon.jsii.JsiiSerializable
(experimental) Logging configuration for AppSync.

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.appsync.*;
 import software.amazon.awscdk.services.iam.*;
 Role role;
 LogConfig logConfig = LogConfig.builder()
         .excludeVerboseContent(false)
         .fieldLogLevel(FieldLogLevel.NONE)
         .role(role)
         .build();
 
  • Method Details

    • getExcludeVerboseContent

      @Stability(Experimental) @Nullable default Object getExcludeVerboseContent()
      (experimental) exclude verbose content.

      Default: false

    • getFieldLogLevel

      @Stability(Experimental) @Nullable default FieldLogLevel getFieldLogLevel()
      (experimental) log level for fields.

      Default: - Use AppSync default

    • getRole

      @Stability(Experimental) @Nullable default IRole getRole()
      (experimental) The role for CloudWatch Logs.

      Default: - None

    • builder

      @Stability(Experimental) static LogConfig.Builder builder()
      Returns:
      a LogConfig.Builder of LogConfig