{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/MetricName"
 ],
 "definitions": {
  "Action": {
   "additionalProperties": false,
   "properties": {
    "Type": {
     "type": "string"
    }
   },
   "required": [
    "Type"
   ],
   "type": "object"
  },
  "Rule": {
   "additionalProperties": false,
   "properties": {
    "Action": {
     "$ref": "#/definitions/Action"
    },
    "Priority": {
     "type": "integer"
    },
    "RuleId": {
     "type": "string"
    }
   },
   "required": [
    "Action",
    "Priority",
    "RuleId"
   ],
   "type": "object"
  }
 },
 "lifecycle": {
  "status": "sunset"
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "DefaultAction": {
   "$ref": "#/definitions/Action"
  },
  "Id": {
   "type": "string"
  },
  "MetricName": {
   "type": "string"
  },
  "Name": {
   "type": "string"
  },
  "Rules": {
   "items": {
    "$ref": "#/definitions/Rule"
   },
   "type": "array",
   "uniqueItems": false
  }
 },
 "readOnlyProperties": [
  "/properties/Id"
 ],
 "required": [
  "MetricName",
  "DefaultAction",
  "Name"
 ],
 "typeName": "AWS::WAFRegional::WebACL"
}
