{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudwatch/json-schema/amazon-cloudwatch-get-delivery-destination-response-schema.json",
  "title": "GetDeliveryDestinationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudwatch-delivery-destination-api-openapi.yml#/components/schemas/GetDeliveryDestinationResponse",
  "type": "object",
  "properties": {
    "deliveryDestination": {
      "$ref": "#/$defs/DeliveryDestination"
    }
  },
  "$defs": {
    "DeliveryDestination": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of this delivery destination."
        },
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) that uniquely identifies this delivery destination."
        },
        "deliveryDestinationType": {
          "type": "string",
          "enum": [
            "S3",
            "CWL",
            "FH",
            "XRAY"
          ],
          "description": "Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray."
        },
        "outputFormat": {
          "type": "string",
          "enum": [
            "json",
            "plain",
            "w3c",
            "raw",
            "parquet"
          ],
          "description": "The format of the logs that are sent to this delivery destination."
        },
        "deliveryDestinationConfiguration": {
          "$ref": "#/$defs/DeliveryDestinationConfiguration"
        },
        "roleArn": {
          "type": "string",
          "description": "The ARN of the IAM role that CloudWatch Logs assumes to deliver to this delivery destination. This field is present only for X-Ray trace delivery destinations that were created with a role."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags that have been assigned to this delivery destination."
        }
      }
    },
    "DeliveryDestinationConfiguration": {
      "type": "object",
      "properties": {
        "destinationResourceArn": {
          "type": "string",
          "description": "The ARN of the Amazon Web Services destination that this delivery destination represents. That Amazon Web Services destination can be a log group in CloudWatch Logs, an Amazon S3 bucket, or a delivery stream in Firehose."
        }
      },
      "required": [
        "destinationResourceArn"
      ]
    }
  }
}