{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-wafregional-webacl.json",
  "title": "AWSWAFRegionalWebACLProperties",
  "description": "Resource Type definition for AWS::WAFRegional::WebACL. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-wafregional-webacl.json",
    "sourceSha256": "0093f9e7ca291dfa5af5e03eda02d4e26a2d66acfd8b1b40f89af77ce2438cc1"
  },
  "type": "object",
  "properties": {
    "MetricName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "DefaultAction": {
      "$ref": "#/$defs/Action"
    },
    "Rules": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Rule"
      }
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::WAFRegional::WebACL",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "Action": {
      "type": "object",
      "title": "AWSWAFRegionalWebACLActionDefinition",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Type"
      ],
      "additionalProperties": false
    },
    "Rule": {
      "type": "object",
      "title": "AWSWAFRegionalWebACLRuleDefinition",
      "properties": {
        "Action": {
          "$ref": "#/$defs/Action"
        },
        "Priority": {
          "type": "integer"
        },
        "RuleId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Action",
        "Priority",
        "RuleId"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "DefaultAction",
    "MetricName",
    "Name"
  ],
  "createOnlyProperties": [
    "/properties/MetricName",
    "/properties/Name"
  ]
}
