@Stability(value=Stable)
public static interface CfnGraphQLApi.LogConfigProperty
extends software.amazon.jsii.JsiiSerializable
LogConfig is a property of the AWS::AppSync::GraphQLApi property type.
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.*;
LogConfigProperty logConfigProperty = LogConfigProperty.builder()
.cloudWatchLogsRoleArn("cloudWatchLogsRoleArn")
.excludeVerboseContent(false)
.fieldLogLevel("fieldLogLevel")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnGraphQLApi.LogConfigProperty.Builder
A builder for
CfnGraphQLApi.LogConfigProperty |
static class |
CfnGraphQLApi.LogConfigProperty.Jsii$Proxy
An implementation for
CfnGraphQLApi.LogConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnGraphQLApi.LogConfigProperty.Builder |
builder() |
default String |
getCloudWatchLogsRoleArn()
The service role that AWS AppSync will assume to publish to Amazon CloudWatch Logs in your account.
|
default Object |
getExcludeVerboseContent()
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
|
default String |
getFieldLogLevel()
The field logging level.
|
@Stability(value=Stable) @Nullable default String getCloudWatchLogsRoleArn()
@Stability(value=Stable) @Nullable default Object getExcludeVerboseContent()
@Stability(value=Stable) @Nullable default String getFieldLogLevel()
@Stability(value=Stable) static CfnGraphQLApi.LogConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.