{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-vpcendpoint.json",
  "title": "AWSEC2VPCEndpointProperties",
  "description": "Resource Type definition for AWS::EC2::VPCEndpoint. 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-vpcendpoint.json",
    "sourceSha256": "e7c72e9e2ccac72aed136fdd6c7cabb920f6eb91d5ade0917002a1c5a3855422"
  },
  "type": "object",
  "properties": {
    "PolicyDocument": {
      "type": [
        "string",
        "object"
      ],
      "description": "A policy to attach to the endpoint that controls access to the service."
    },
    "PrivateDnsEnabled": {
      "type": "boolean",
      "description": "Indicate whether to associate a private hosted zone with the specified VPC."
    },
    "RouteTableIds": {
      "type": "array",
      "description": "One or more route table IDs.",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "type": "string"
      }
    },
    "SecurityGroupIds": {
      "type": "array",
      "description": "The ID of one or more security groups to associate with the endpoint network interface.",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "type": "string"
      }
    },
    "ServiceName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The service name."
    },
    "SubnetIds": {
      "type": "array",
      "description": "The ID of one or more subnets in which to create an endpoint network interface.",
      "uniqueItems": true,
      "insertionOrder": false,
      "items": {
        "type": "string"
      }
    },
    "VpcEndpointType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "Interface",
            "Gateway",
            "GatewayLoadBalancer"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "VpcId": {
      "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 VPC in which the endpoint will be used."
    }
  },
  "typeName": "AWS::EC2::VPCEndpoint",
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "required": [
    "VpcId",
    "ServiceName"
  ],
  "readOnlyProperties": [
    "/properties/NetworkInterfaceIds",
    "/properties/CreationTimestamp",
    "/properties/DnsEntries",
    "/properties/Id"
  ],
  "createOnlyProperties": [
    "/properties/ServiceName",
    "/properties/VpcEndpointType",
    "/properties/VpcId"
  ]
}
