Show / Hide Table of Contents

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.

Inheritance
object
CfnGraphQLApiPropsMixin.LogConfigProperty
Implements
CfnGraphQLApiPropsMixin.ILogConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html

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 LogConfig property type specifies the logging configuration when writing GraphQL operations and tracing to Amazon CloudWatch for an AWS AppSync GraphQL API.

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html#cfn-appsync-graphqlapi-logconfig-cloudwatchlogsrolearn

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html#cfn-appsync-graphqlapi-logconfig-excludeverbosecontent

Type union: either bool or IResolvable

FieldLogLevel

The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or ALL.

public string? FieldLogLevel { get; set; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html#cfn-appsync-graphqlapi-logconfig-fieldloglevel

    Implements

    CfnGraphQLApiPropsMixin.ILogConfigProperty
    Back to top Generated by DocFX