AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS AppSync GraphQLApi LogConfig

The LogConfig property type specifies the logging configuration when writing GraphQL operations and tracing to Amazon Cloudwatch for a 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, "FieldLogLevel" : String }

YAML

CloudWatchLogsRoleArn: String FieldLogLevel: String

Properties

CloudWatchLogsRoleArn

The IAM role that will allow publishing CloudWatch logs into the customer's account.

Required: No

Type: String

Update requires: No interruption

FieldLogLevel

The desired level of logging.

Required: No

Type: String

Update requires: No interruption

See Also

  • LogConfig operation in the AWS AppSync API Reference

On this page: