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