Class CfnGraphQLApi.LogConfigProperty
The LogConfig
property type specifies the logging configuration when writing GraphQL operations and tracing to Amazon CloudWatch for an AWS AppSync GraphQL API.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LogConfigProperty : Object, CfnGraphQLApi.ILogConfigProperty
Syntax (vb)
Public Class LogConfigProperty
Inherits Object
Implements CfnGraphQLApi.ILogConfigProperty
Remarks
LogConfig
is a property of the AWS::AppSync::GraphQLApi property type.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppSync;
var logConfigProperty = new LogConfigProperty {
CloudWatchLogsRoleArn = "cloudWatchLogsRoleArn",
ExcludeVerboseContent = false,
FieldLogLevel = "fieldLogLevel"
};
Synopsis
Constructors
LogConfigProperty() |
Properties
CloudWatchLogsRoleArn | The service role that AWS AppSync will assume to publish to Amazon CloudWatch Logs in your account. |
ExcludeVerboseContent | Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level. |
FieldLogLevel | The field logging level. Values can be NONE, ERROR, or ALL. |
Constructors
LogConfigProperty()
public LogConfigProperty()
Properties
CloudWatchLogsRoleArn
The service role that AWS AppSync will assume to publish to Amazon CloudWatch Logs in your account.
public string CloudWatchLogsRoleArn { get; set; }
Property Value
System.String
Remarks
ExcludeVerboseContent
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
public object ExcludeVerboseContent { get; set; }
Property Value
System.Object
Remarks
FieldLogLevel
The field logging level. Values can be NONE, ERROR, or ALL.
public string FieldLogLevel { get; set; }
Property Value
System.String