{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-networkmanager-transitgatewaypeering.json",
  "title": "AWSNetworkManagerTransitGatewayPeeringProperties",
  "description": "AWS::NetworkManager::TransitGatewayPeering Resoruce Type.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewaypeering>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-networkmanager-transitgatewaypeering.json",
    "sourceSha256": "8e3b6341ee06dc87785f9fa04ee8b88fb5eb05eb5e67b9aa5363bd746e072c59"
  },
  "type": "object",
  "properties": {
    "CoreNetworkId": {
      "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 core network that you want to peer a transit gateway to."
    },
    "TransitGatewayArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ARN (Amazon Resource Name) of the transit gateway that you will peer to a core network"
    },
    "Tags": {
      "description": "An array of key-value pairs to apply to this resource.",
      "type": "array",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::NetworkManager::TransitGatewayPeering",
  "primaryIdentifier": [
    "/properties/PeeringId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-networkmanager/aws-networkmanager-transitgatewaypeering",
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/CoreNetworkId",
    "/properties/TransitGatewayArn"
  ],
  "$defs": {
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$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",
              "minLength": 0,
              "maxLength": 256
            },
            {
              "$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": "AWSNetworkManagerTransitGatewayPeeringTagDefinition",
      "additionalProperties": false
    }
  },
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "required": [
    "CoreNetworkId",
    "TransitGatewayArn"
  ],
  "readOnlyProperties": [
    "/properties/CoreNetworkArn",
    "/properties/PeeringId",
    "/properties/State",
    "/properties/PeeringType",
    "/properties/OwnerAccountId",
    "/properties/EdgeLocation",
    "/properties/ResourceArn",
    "/properties/CreatedAt",
    "/properties/TransitGatewayPeeringAttachmentId"
  ]
}
