{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-managed-apache-flink/refs/heads/main/json-structure/amazon-managed-apache-flink-monitoring-configuration-update-structure.json",
  "name": "MonitoringConfigurationUpdate",
  "description": "Describes updates to configuration parameters for Amazon CloudWatch logging for an application.",
  "type": "object",
  "properties": {
    "ConfigurationTypeUpdate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ConfigurationType"
        },
        {
          "description": "Describes updates to whether to use the default CloudWatch logging configuration for an application. You must set this property to <code>CUSTOM</code> in order to set the <code>LogLevel</code> or <code>MetricsLevel</code> parameters."
        }
      ]
    },
    "MetricsLevelUpdate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MetricsLevel"
        },
        {
          "description": "Describes updates to the granularity of the CloudWatch Logs for an application. The <code>Parallelism</code> level is not recommended for applications with a Parallelism over 64 due to excessive costs."
        }
      ]
    },
    "LogLevelUpdate": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LogLevel"
        },
        {
          "description": "Describes updates to the verbosity of the CloudWatch Logs for an application."
        }
      ]
    }
  }
}