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:StringFieldLogLevel: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
