{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/LoggingConfig"
 ],
 "definitions": {
  "LoggingConfig": {
   "additionalProperties": false,
   "properties": {
    "LogGroupName": {
     "format": "AWS::Logs::LogGroup.Name",
     "maxLength": 512,
     "minLength": 1,
     "pattern": "^[\\.\\-_/#A-Za-z0-9]+$",
     "type": "string"
    },
    "LogRoleArn": {
     "format": "AWS::IAM::Role.Arn",
     "maxLength": 256,
     "minLength": 1,
     "type": "string"
    }
   },
   "type": "object"
  }
 },
 "oneOf": [
  {
   "required": [
    "TypeName",
    "PublisherId",
    "Type"
   ]
  },
  {
   "required": [
    "PublicTypeArn"
   ]
  }
 ],
 "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/.+",
   "type": "string"
  },
  "AutoUpdate": {
   "type": "boolean"
  },
  "ExecutionRoleArn": {
   "format": "AWS::IAM::Role.Arn",
   "type": "string"
  },
  "LoggingConfig": {
   "$ref": "#/definitions/LoggingConfig"
  },
  "MajorVersion": {
   "maxLength": 100000,
   "minLength": 1,
   "type": "string"
  },
  "PublicTypeArn": {
   "maxLength": 1024,
   "pattern": "arn:aws[A-Za-z0-9-]{0,64}:cloudformation:[A-Za-z0-9-]{1,64}:([0-9]{12})?:type/.+",
   "type": "string"
  },
  "PublisherId": {
   "maxLength": 40,
   "minLength": 1,
   "pattern": "[0-9a-zA-Z-]{1,40}",
   "type": "string"
  },
  "Type": {
   "enum": [
    "RESOURCE",
    "MODULE",
    "HOOK"
   ],
   "type": "string"
  },
  "TypeName": {
   "pattern": "[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,1}",
   "type": "string"
  },
  "TypeNameAlias": {
   "maxLength": 204,
   "minLength": 10,
   "pattern": "[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}(::MODULE){0,1}",
   "type": "string"
  },
  "VersionBump": {
   "enum": [
    "MAJOR",
    "MINOR"
   ],
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Arn"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-cloudformation",
 "typeName": "AWS::CloudFormation::TypeActivation",
 "writeOnlyProperties": [
  "/properties/ExecutionRoleArn",
  "/properties/Type",
  "/properties/LoggingConfig",
  "/properties/VersionBump",
  "/properties/AutoUpdate",
  "/properties/MajorVersion"
 ]
}
