{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-customergateway.json",
  "title": "AWSEC2CustomerGatewayProperties",
  "description": "Resource Type definition for AWS::EC2::CustomerGateway. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ec2-customergateway.json",
    "sourceSha256": "6f1746b4a2b03472e1994a15f914feb9d7bbb1446964059203605289365d1e78"
  },
  "type": "object",
  "properties": {
    "BgpAsn": {
      "type": "integer",
      "default": 65000,
      "description": "For devices that support BGP, the customer gateway's BGP ASN."
    },
    "IpAddress": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The internet-routable IP address for the customer gateway's outside interface. The address must be static."
    },
    "Tags": {
      "type": "array",
      "uniqueItems": false,
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "One or more tags for the customer gateway."
    },
    "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 that this customer gateway supports."
    },
    "DeviceName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A name for the customer gateway device."
    }
  },
  "typeName": "AWS::EC2::CustomerGateway",
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": true,
    "cloudFormationSystemTags": true,
    "tagProperty": "/properties/Tags"
  },
  "$defs": {
    "Tag": {
      "type": "object",
      "title": "AWSEC2CustomerGatewayTagDefinition",
      "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
    }
  },
  "primaryIdentifier": [
    "/properties/CustomerGatewayId"
  ],
  "additionalProperties": false,
  "required": [
    "BgpAsn",
    "IpAddress",
    "Type"
  ],
  "createOnlyProperties": [
    "/properties/BgpAsn",
    "/properties/Type",
    "/properties/IpAddress",
    "/properties/DeviceName"
  ],
  "readOnlyProperties": [
    "/properties/CustomerGatewayId"
  ]
}
