{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-networkmanager-link.json",
  "title": "AWSNetworkManagerLinkProperties",
  "description": "The AWS::NetworkManager::Link type describes a link.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-networkmanager-link.json",
    "sourceSha256": "af4513b3e009763fe75c55b5ce05f9ac4c2aa65ae82b7471c38335f62b870ad3"
  },
  "type": "object",
  "properties": {
    "GlobalNetworkId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the global network."
    },
    "SiteId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the site"
    },
    "Bandwidth": {
      "description": "The Bandwidth for the link.",
      "$ref": "#/$defs/Bandwidth"
    },
    "Provider": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The provider of the link."
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The description of the link."
    },
    "Tags": {
      "description": "The tags for the link.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Type": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The type of the link."
    }
  },
  "typeName": "AWS::NetworkManager::Link",
  "additionalIdentifiers": [
    [
      "/properties/LinkArn"
    ]
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/GlobalNetworkId",
    "/properties/LinkId"
  ],
  "$defs": {
    "Tag": {
      "description": "A key-value pair to associate with a link resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSNetworkManagerLinkTagDefinition",
      "additionalProperties": false
    },
    "Bandwidth": {
      "description": "The bandwidth for the link.",
      "type": "object",
      "properties": {
        "DownloadSpeed": {
          "description": "Download speed in Mbps.",
          "type": "integer"
        },
        "UploadSpeed": {
          "description": "Upload speed in Mbps.",
          "type": "integer"
        }
      },
      "title": "AWSNetworkManagerLinkBandwidthDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "GlobalNetworkId",
    "SiteId",
    "Bandwidth"
  ],
  "readOnlyProperties": [
    "/properties/LinkId",
    "/properties/LinkArn"
  ],
  "createOnlyProperties": [
    "/properties/GlobalNetworkId",
    "/properties/SiteId"
  ]
}
