Amplify Toolbox
    Preparing search index...

    Type Alias DataLoggingOptions

    DataLoggingOptions: true | DataLogConfig

    The logging configuration when writing GraphQL operations and tracing to Amazon CloudWatch for an AWS AppSync GraphQL API. Values can be true or a DataLogConfig object.

    Default settings will be applied when logging is set to true or an empty object, or for unspecified fields:

    • excludeVerboseContent: true
    • fieldLogLevel: none
    • retention: 1 week

    WARNING: Verbose logging will log the full incoming query including user parameters. Sensitive information may be exposed in CloudWatch logs. Ensure that your IAM policies only grant access to authorized users.

    For information on AppSync's LogConfig, refer to https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html.