{
 "additionalProperties": false,
 "definitions": {
  "Region": {
   "pattern": "^[a-zA-Z0-9-]{1,32}$",
   "type": "string"
  }
 },
 "primaryIdentifier": [
  "/properties/FindingAggregatorArn"
 ],
 "properties": {
  "FindingAggregationRegion": {
   "$ref": "#/definitions/Region"
  },
  "FindingAggregatorArn": {
   "pattern": "arn:aws\\S*:securityhub:\\S*",
   "type": "string"
  },
  "RegionLinkingMode": {
   "enum": [
    "ALL_REGIONS",
    "ALL_REGIONS_EXCEPT_SPECIFIED",
    "SPECIFIED_REGIONS"
   ],
   "type": "string"
  },
  "Regions": {
   "insertionOrder": false,
   "items": {
    "$ref": "#/definitions/Region"
   },
   "maxItems": 50,
   "minItems": 1,
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/FindingAggregatorArn",
  "/properties/FindingAggregationRegion"
 ],
 "required": [
  "RegionLinkingMode"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-securityhub",
 "tagging": {
  "taggable": false
 },
 "typeName": "AWS::SecurityHub::FindingAggregator"
}
