{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/TargetIdentifier",
  "/properties/BaselineIdentifier"
 ],
 "definitions": {
  "AnyType": {
   "insertionOrder": false,
   "items": {
    "type": [
     "string",
     "number",
     "object",
     "boolean"
    ]
   },
   "type": [
    "array",
    "string",
    "number",
    "object",
    "boolean"
   ]
  },
  "Parameter": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "$ref": "#/definitions/AnyType"
    }
   },
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/EnabledBaselineIdentifier"
 ],
 "properties": {
  "BaselineIdentifier": {
   "maxLength": 2048,
   "minLength": 20,
   "pattern": "^arn:aws[0-9a-zA-Z_\\-:\\/]+$",
   "type": "string"
  },
  "BaselineVersion": {
   "pattern": "^\\d+(?:\\.\\d+){0,2}$",
   "type": "string"
  },
  "EnabledBaselineIdentifier": {
   "maxLength": 2048,
   "minLength": 20,
   "pattern": "^arn:aws[0-9a-zA-Z_\\-:\\/]+$",
   "type": "string"
  },
  "Parameters": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Parameter"
   },
   "type": "array"
  },
  "Tags": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array"
  },
  "TargetIdentifier": {
   "maxLength": 2048,
   "minLength": 20,
   "pattern": "^arn:aws[0-9a-zA-Z_\\-:\\/]+$",
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/EnabledBaselineIdentifier"
 ],
 "required": [
  "BaselineIdentifier",
  "TargetIdentifier",
  "BaselineVersion"
 ],
 "tagging": {
  "cloudFormationSystemTags": true,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::ControlTower::EnabledBaseline"
}
