{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-vpngateway.json",
  "title": "AWSEC2VPNGatewayProperties",
  "description": "Schema for EC2 VPN Gateway. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-vpngateway.json",
    "sourceSha256": "29dcdf552804967c71c49efa546ac3ecdc6e41cd1490cfe1802682abaed4f2e5"
  },
  "type": "object",
  "properties": {
    "AmazonSideAsn": {
      "description": "The private Autonomous System Number (ASN) for the Amazon side of a BGP session.",
      "type": "integer",
      "format": "int64"
    },
    "Tags": {
      "description": "Any tags assigned to the virtual private gateway.",
      "type": "array",
      "insertionOrder": false,
      "uniqueItems": false,
      "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 VPN connection the virtual private gateway supports."
    }
  },
  "typeName": "AWS::EC2::VPNGateway",
  "primaryIdentifier": [
    "/properties/VPNGatewayId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "readOnlyProperties": [
    "/properties/VPNGatewayId"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "title": "AWSEC2VPNGatewayTagDefinition",
      "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"
            }
          ]
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "Type"
  ],
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "createOnlyProperties": [
    "/properties/AmazonSideAsn",
    "/properties/Type"
  ]
}
