{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/ResourceArn"
 ],
 "definitions": {
  "ApplicationLayerAutomaticResponseConfiguration": {
   "additionalProperties": false,
   "properties": {
    "Action": {
     "oneOf": [
      {
       "additionalProperties": false,
       "properties": {
        "Count": {
         "additionalProperties": false,
         "type": "object"
        }
       },
       "type": "object"
      },
      {
       "additionalProperties": false,
       "properties": {
        "Block": {
         "additionalProperties": false,
         "type": "object"
        }
       },
       "type": "object"
      }
     ],
     "type": "object"
    },
    "Status": {
     "enum": [
      "ENABLED",
      "DISABLED"
     ],
     "type": "string"
    }
   },
   "required": [
    "Action",
    "Status"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Key",
    "Value"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/ProtectionArn"
 ],
 "properties": {
  "ApplicationLayerAutomaticResponseConfiguration": {
   "$ref": "#/definitions/ApplicationLayerAutomaticResponseConfiguration"
  },
  "HealthCheckArns": {
   "insertionOrder": false,
   "items": {
    "maxLength": 2048,
    "minLength": 1,
    "type": "string"
   },
   "maxItems": 1,
   "type": "array"
  },
  "Name": {
   "maxLength": 128,
   "minLength": 1,
   "pattern": "[ a-zA-Z0-9_\\.\\-]*",
   "type": "string"
  },
  "ProtectionArn": {
   "type": "string"
  },
  "ProtectionId": {
   "type": "string"
  },
  "ResourceArn": {
   "maxLength": 2048,
   "minLength": 1,
   "pattern": "^arn:aws",
   "type": "string"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 200,
   "minItems": 0,
   "type": "array"
  }
 },
 "readOnlyProperties": [
  "/properties/ProtectionId",
  "/properties/ProtectionArn"
 ],
 "replacementStrategy": "delete_then_create",
 "required": [
  "Name",
  "ResourceArn"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-shield.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Shield::Protection"
}
