{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ec2-prefixlist.json",
  "title": "AWSEC2PrefixListProperties",
  "description": "Resource schema of AWS::EC2::PrefixList Type. 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-prefixlist.json",
    "sourceSha256": "683f1a937ebe6816f43bb5a4e2c8bcb4fde82d36f21ad65fe0b3b4e33e272424"
  },
  "type": "object",
  "properties": {
    "PrefixListName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Name of Prefix List."
    },
    "AddressFamily": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "IPv4",
            "IPv6"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Ip Version of Prefix List."
    },
    "MaxEntries": {
      "description": "Max Entries of Prefix List.",
      "type": "integer",
      "minimum": 1
    },
    "Tags": {
      "description": "Tags for Prefix List",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Entries": {
      "description": "Entries of Prefix List.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Entry"
      }
    }
  },
  "typeName": "AWS::EC2::PrefixList",
  "$defs": {
    "Tag": {
      "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"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Key"
      ],
      "title": "AWSEC2PrefixListTagDefinition",
      "additionalProperties": false
    },
    "Entry": {
      "type": "object",
      "properties": {
        "Cidr": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 46
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Description": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 255
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Cidr"
      ],
      "title": "AWSEC2PrefixListEntryDefinition",
      "additionalProperties": false
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/PrefixListId"
  ],
  "required": [
    "PrefixListName",
    "MaxEntries",
    "AddressFamily"
  ],
  "readOnlyProperties": [
    "/properties/PrefixListId",
    "/properties/OwnerId",
    "/properties/Version",
    "/properties/Arn"
  ]
}
