{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/TargetIdentifier",
  "/properties/ControlIdentifier"
 ],
 "definitions": {
  "EnabledControlParameter": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "insertionOrder": false,
     "items": {
      "type": [
       "string",
       "number",
       "object",
       "boolean"
      ]
     },
     "minItems": 1,
     "type": [
      "array",
      "string",
      "number",
      "object",
      "boolean"
     ]
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "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/TargetIdentifier",
  "/properties/ControlIdentifier"
 ],
 "properties": {
  "ControlIdentifier": {
   "maxLength": 2048,
   "minLength": 20,
   "pattern": "^arn:aws[0-9a-zA-Z_\\-:\\/]+$",
   "type": "string"
  },
  "Parameters": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/EnabledControlParameter"
   },
   "minItems": 1,
   "type": "array"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 1,
   "type": "array"
  },
  "TargetIdentifier": {
   "maxLength": 2048,
   "minLength": 20,
   "pattern": "^arn:aws[0-9a-zA-Z_\\-:\\/]+$",
   "type": "string"
  }
 },
 "required": [
  "TargetIdentifier",
  "ControlIdentifier"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-controltower",
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ControlTower::EnabledControl"
}
