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();
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LogConfig.Builder
builder()
default Object
(experimental) exclude verbose content.default FieldLogLevel
(experimental) log level for fields.default IRole
getRole()
(experimental) The role for CloudWatch Logs.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExcludeVerboseContent
(experimental) exclude verbose content.Default: false
-
getFieldLogLevel
(experimental) log level for fields.Default: - Use AppSync default
-
getRole
(experimental) The role for CloudWatch Logs.Default: - None
-
builder
- Returns:
- a
LogConfig.Builder
ofLogConfig
-