{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-networkmanager-corenetwork.json",
  "title": "AWSNetworkManagerCoreNetworkProperties",
  "description": "AWS::NetworkManager::CoreNetwork Resource Type Definition.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-networkmanager-corenetwork.json",
    "sourceSha256": "f34c215f701e9d5951c8bc9d9a154d6fb6e287ea05ca40eecd952c73253fd9e3"
  },
  "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 that your core network is a part of."
    },
    "PolicyDocument": {
      "description": "Live policy document for the core network, you must provide PolicyDocument in Json Format",
      "type": "object"
    },
    "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 core network"
    },
    "Tags": {
      "description": "The tags for the global network.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::NetworkManager::CoreNetwork",
  "additionalIdentifiers": [
    [
      "/properties/CoreNetworkArn"
    ],
    [
      "/properties/GlobalNetworkId"
    ]
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-corenetwork",
  "primaryIdentifier": [
    "/properties/CoreNetworkId"
  ],
  "additionalProperties": false,
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "$defs": {
    "CoreNetworkSegment": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "Name of segment"
        },
        "EdgeLocations": {
          "type": "array",
          "insertionOrder": false,
          "items": {
            "type": "string",
            "description": "The Regions where the edges are located."
          }
        },
        "SharedSegments": {
          "type": "array",
          "insertionOrder": false,
          "items": {
            "type": "string",
            "description": "The shared segments of a core network."
          }
        }
      },
      "title": "AWSNetworkManagerCoreNetworkCoreNetworkSegmentDefinition",
      "additionalProperties": false
    },
    "CoreNetworkEdge": {
      "type": "object",
      "properties": {
        "EdgeLocation": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The Region where a core network edge is located."
        },
        "Asn": {
          "type": "number",
          "description": "The ASN of a core network edge."
        },
        "InsideCidrBlocks": {
          "type": "array",
          "insertionOrder": false,
          "items": {
            "type": "string",
            "description": "The inside IP addresses used for core network edges."
          }
        }
      },
      "title": "AWSNetworkManagerCoreNetworkCoreNetworkEdgeDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a 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"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSNetworkManagerCoreNetworkTagDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "GlobalNetworkId"
  ],
  "readOnlyProperties": [
    "/properties/OwnerAccount",
    "/properties/CoreNetworkId",
    "/properties/CoreNetworkArn",
    "/properties/CreatedAt",
    "/properties/State",
    "/properties/Segments",
    "/properties/Edges"
  ],
  "createOnlyProperties": [
    "/properties/GlobalNetworkId"
  ]
}
