{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-localgatewayroute.json",
  "title": "AWSEC2LocalGatewayRouteProperties",
  "description": "Describes a route for a local gateway route table.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-localgatewayroute.json",
    "sourceSha256": "45b8a6d8f952a927fbb98ac558b5485e814a84893c99fe0e0d517ce801e2496f"
  },
  "type": "object",
  "properties": {
    "DestinationCidrBlock": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The CIDR block used for destination matches."
    },
    "LocalGatewayRouteTableId": {
      "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 local gateway route table."
    },
    "LocalGatewayVirtualInterfaceGroupId": {
      "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 virtual interface group."
    },
    "NetworkInterfaceId": {
      "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 network interface."
    }
  },
  "typeName": "AWS::EC2::LocalGatewayRoute",
  "additionalProperties": false,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ec2-lgw.git",
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "oneOf": [
    {
      "required": [
        "DestinationCidrBlock",
        "LocalGatewayRouteTableId",
        "LocalGatewayVirtualInterfaceGroupId"
      ]
    },
    {
      "required": [
        "DestinationCidrBlock",
        "LocalGatewayRouteTableId",
        "NetworkInterfaceId"
      ]
    }
  ],
  "createOnlyProperties": [
    "/properties/DestinationCidrBlock",
    "/properties/LocalGatewayRouteTableId"
  ],
  "readOnlyProperties": [
    "/properties/State",
    "/properties/Type"
  ],
  "primaryIdentifier": [
    "/properties/DestinationCidrBlock",
    "/properties/LocalGatewayRouteTableId"
  ]
}
