{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-app-runner/json-schema/aws-app-runner-create-observability-configuration-request-schema.json",
  "title": "CreateObservabilityConfigurationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-app-runner-observability-api-openapi.yml#/components/schemas/CreateObservabilityConfigurationRequest",
  "type": "object",
  "properties": {
    "ObservabilityConfigurationName": {
      "type": "string",
      "description": "A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. The name DefaultConfiguration is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it. When you want to use your own observability configuration for your App Runner service, create a configuration with a different name, and then provide it when you create or update yo"
    },
    "TraceConfiguration": {
      "$ref": "#/$defs/TraceConfiguration"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair."
    }
  },
  "required": [
    "ObservabilityConfigurationName"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key of the tag."
        },
        "Value": {
          "type": "string",
          "description": "The value of the tag."
        }
      }
    },
    "TraceConfiguration": {
      "type": "object",
      "properties": {
        "Vendor": {
          "type": "string",
          "enum": [
            "AWSXRAY"
          ],
          "description": "The implementation provider chosen for tracing App Runner services."
        }
      },
      "required": [
        "Vendor"
      ]
    }
  }
}