{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/Name",
  "/properties/Type"
 ],
 "definitions": {
  "ReportExportConfig": {
   "additionalProperties": false,
   "properties": {
    "ExportConfigType": {
     "type": "string"
    },
    "S3Destination": {
     "$ref": "#/definitions/S3ReportExportConfig"
    }
   },
   "required": [
    "ExportConfigType"
   ],
   "type": "object"
  },
  "S3ReportExportConfig": {
   "additionalProperties": false,
   "properties": {
    "Bucket": {
     "type": "string"
    },
    "BucketOwner": {
     "type": "string"
    },
    "EncryptionDisabled": {
     "type": "boolean"
    },
    "EncryptionKey": {
     "type": "string"
    },
    "Packaging": {
     "type": "string"
    },
    "Path": {
     "type": "string"
    }
   },
   "required": [
    "Bucket"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "type": "string"
    },
    "Value": {
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/Id"
 ],
 "properties": {
  "Arn": {
   "type": "string"
  },
  "DeleteReports": {
   "type": "boolean"
  },
  "ExportConfig": {
   "$ref": "#/definitions/ReportExportConfig"
  },
  "Id": {
   "type": "string"
  },
  "Name": {
   "type": "string"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "type": "array",
   "uniqueItems": false
  },
  "Type": {
   "type": "string"
  }
 },
 "readOnlyProperties": [
  "/properties/Id",
  "/properties/Arn"
 ],
 "required": [
  "Type",
  "ExportConfig"
 ],
 "typeName": "AWS::CodeBuild::ReportGroup"
}
