{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloud-wan/json-schema/amazon-cloud-wan-create-connection-request-schema.json",
  "title": "CreateConnectionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloud-wan-connections-api-openapi.yml#/components/schemas/CreateConnectionRequest",
  "type": "object",
  "properties": {
    "GlobalNetworkId": {
      "type": "string",
      "description": "The ID of the global network."
    },
    "DeviceId": {
      "type": "string",
      "description": "The ID of the first device in the connection."
    },
    "ConnectedDeviceId": {
      "type": "string",
      "description": "The ID of the second device in the connection."
    },
    "LinkId": {
      "type": "string",
      "description": "The ID of the link for the first device."
    },
    "ConnectedLinkId": {
      "type": "string",
      "description": "The ID of the link for the second device."
    },
    "Description": {
      "type": "string",
      "description": "A description of the connection. Length Constraints: Maximum length of 256 characters."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "The tags to apply to the resource during creation."
    }
  },
  "required": [
    "GlobalNetworkId",
    "DeviceId",
    "ConnectedDeviceId"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key. Constraints: Maximum length of 128 characters."
        },
        "Value": {
          "type": "string",
          "description": "The tag value. Constraints: Maximum length of 256 characters."
        }
      }
    }
  }
}