LogConfigArgs

data class LogConfigArgs(val cloudWatchLogsRoleArn: Output<String>? = null, val excludeVerboseContent: Output<Boolean>? = null, val fieldLogLevel: Output<FieldLogLevelEnumValueArgs>? = null) : ConvertibleToJava<LogConfigArgs>

Definition of LogConfig

Constructors

Link copied to clipboard
constructor(cloudWatchLogsRoleArn: Output<String>? = null, excludeVerboseContent: Output<Boolean>? = null, fieldLogLevel: Output<FieldLogLevelEnumValueArgs>? = null)

Properties

Link copied to clipboard
val cloudWatchLogsRoleArn: Output<String>? = null

The service role that AppSync assumes to publish to CloudWatch logs in your account.

Link copied to clipboard
val excludeVerboseContent: Output<Boolean>? = null

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

Link copied to clipboard

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

  • NONE: No field-level logs are captured.

  • ERROR: Logs the following information only for the fields that are in error:

    • The error section in the server response.

    • Field-level errors.

    • The generated request/response functions that got resolved for error fields.

  • ALL: The following information is logged for all fields in the query:

    • Field-level tracing information.

    • The generated request/response functions that got resolved for each field.

Functions

Link copied to clipboard
open override fun toJava(): LogConfigArgs