AWS::AppSync::GraphQLApi LogConfig - AWS CloudFormation (original) (raw)

The LogConfig property type specifies the logging configuration when writing GraphQL operations and tracing to Amazon CloudWatch for an AWS AppSync GraphQL API.

LogConfig is a property of the AWS::AppSync::GraphQLApi property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{
  "CloudWatchLogsRoleArn" : String,
  "ExcludeVerboseContent" : Boolean,
  "FieldLogLevel" : String
}

YAML

  CloudWatchLogsRoleArn: String
  ExcludeVerboseContent: Boolean
  FieldLogLevel: String

Properties

CloudWatchLogsRoleArn

The service role that AWS AppSync will assume to publish to Amazon CloudWatch Logs in your account.

Required: No

Type: String

Update requires: No interruption

ExcludeVerboseContent

Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.

Required: No

Type: Boolean

Update requires: No interruption

FieldLogLevel

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

Required: No

Type: String

Update requires: No interruption

LambdaAuthorizerConfig

OpenIDConnectConfig

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.