Class CfnGraphQLApiPropsMixin.LogConfigProperty
The LogConfig property type specifies the logging configuration when writing GraphQL operations and tracing to Amazon CloudWatch for an AWS AppSync GraphQL API.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppSync.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnGraphQLApiPropsMixin.LogConfigProperty : CfnGraphQLApiPropsMixin.ILogConfigProperty
Syntax (vb)
Public Class CfnGraphQLApiPropsMixin.LogConfigProperty Implements CfnGraphQLApiPropsMixin.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.Mixins.Preview.AWS.AppSync.Mixins;
var logConfigProperty = new LogConfigProperty {
CloudWatchLogsRoleArn = "cloudWatchLogsRoleArn",
ExcludeVerboseContent = false,
FieldLogLevel = "fieldLogLevel"
};
Synopsis
Constructors
| LogConfigProperty() | The |
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, INFO, DEBUG, or ALL. |
Constructors
LogConfigProperty()
The LogConfig property type specifies the logging configuration when writing GraphQL operations and tracing to Amazon CloudWatch for an AWS AppSync GraphQL API.
public LogConfigProperty()
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.Mixins.Preview.AWS.AppSync.Mixins;
var logConfigProperty = new LogConfigProperty {
CloudWatchLogsRoleArn = "cloudWatchLogsRoleArn",
ExcludeVerboseContent = false,
FieldLogLevel = "fieldLogLevel"
};
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
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
Remarks
FieldLogLevel
The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or ALL.
public string? FieldLogLevel { get; set; }