{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ExecutionRoleArn",
  "/properties/LoggingConfig",
  "/properties/SchemaHandlerPackage",
  "/properties/TypeName"
 ],
 "definitions": {
  "LoggingConfig": {
   "additionalProperties": false,
   "properties": {
    "LogGroupName": {
     "format": "AWS::Logs::LogGroup.Name",
     "maxLength": 512,
     "minLength": 1,
     "pattern": "^[\\.\\-_/#A-Za-z0-9]+$",
     "type": "string"
    },
    "LogRoleArn": {
     "maxLength": 256,
     "minLength": 1,
     "pattern": "arn:.+:iam::[0-9]{12}:role/.+",
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Arn"
 ],
 "properties": {
  "Arn": {
   "pattern": "^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/hook/.+$",
   "type": "string"
  },
  "ExecutionRoleArn": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "arn:.+:iam::[0-9]{12}:role/.+",
   "type": "string"
  },
  "IsDefaultVersion": {
   "type": "boolean"
  },
  "LoggingConfig": {
   "$ref": "#/definitions/LoggingConfig"
  },
  "SchemaHandlerPackage": {
   "maxLength": 4096,
   "minLength": 1,
   "type": "string"
  },
  "TypeArn": {
   "pattern": "^arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/hook/.+$",
   "type": "string"
  },
  "TypeName": {
   "pattern": "^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$",
   "type": "string"
  },
  "VersionId": {
   "pattern": "^[A-Za-z0-9-]{1,128}$",
   "type": "string"
  },
  "Visibility": {
   "enum": [
    "PUBLIC",
    "PRIVATE"
   ],
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn",
  "/properties/IsDefaultVersion",
  "/properties/Visibility",
  "/properties/VersionId",
  "/properties/TypeArn"
 ],
 "required": [
  "SchemaHandlerPackage",
  "TypeName"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudformation",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": false,
  "tagUpdatable": false,
  "taggable": false
 },
 "typeName": "AWS::CloudFormation::HookVersion",
 "writeOnlyProperties": [
  "/properties/SchemaHandlerPackage"
 ]
}
