{
 "additionalProperties": false,
 "createOnlyProperties": [
  "/properties/ConfigurationAggregatorName"
 ],
 "definitions": {
  "AccountAggregationSource": {
   "additionalProperties": false,
   "properties": {
    "AccountIds": {
     "items": {
      "pattern": "^\\d{12}$",
      "type": "string"
     },
     "minItems": 1,
     "type": "array",
     "uniqueItems": false
    },
    "AllAwsRegions": {
     "type": "boolean"
    },
    "AwsRegions": {
     "items": {
      "type": "string"
     },
     "minItems": 1,
     "type": "array",
     "uniqueItems": false
    }
   },
   "required": [
    "AccountIds"
   ],
   "type": "object"
  },
  "OrganizationAggregationSource": {
   "additionalProperties": false,
   "properties": {
    "AllAwsRegions": {
     "type": "boolean"
    },
    "AwsRegions": {
     "items": {
      "type": "string"
     },
     "minItems": 1,
     "type": "array",
     "uniqueItems": false
    },
    "RoleArn": {
     "format": "AWS::IAM::Role.Arn",
     "type": "string"
    }
   },
   "required": [
    "RoleArn"
   ],
   "type": "object"
  },
  "Tag": {
   "additionalProperties": false,
   "properties": {
    "Key": {
     "maxLength": 128,
     "minLength": 1,
     "type": "string"
    },
    "Value": {
     "maxLength": 256,
     "minLength": 0,
     "type": "string"
    }
   },
   "required": [
    "Value",
    "Key"
   ],
   "type": "object"
  }
 },
 "primaryIdentifier": [
  "/properties/ConfigurationAggregatorName"
 ],
 "properties": {
  "AccountAggregationSources": {
   "items": {
    "$ref": "#/definitions/AccountAggregationSource"
   },
   "maxItems": 1,
   "minItems": 0,
   "type": "array",
   "uniqueItems": false
  },
  "ConfigurationAggregatorArn": {
   "type": "string"
  },
  "ConfigurationAggregatorName": {
   "maxLength": 256,
   "minLength": 1,
   "pattern": "[\\w\\-]+",
   "type": "string"
  },
  "OrganizationAggregationSource": {
   "$ref": "#/definitions/OrganizationAggregationSource"
  },
  "Tags": {
   "items": {
    "$ref": "#/definitions/Tag"
   },
   "maxItems": 50,
   "minItems": 0,
   "type": "array",
   "uniqueItems": true
  }
 },
 "readOnlyProperties": [
  "/properties/ConfigurationAggregatorArn"
 ],
 "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-config.git",
 "tagging": {
  "cloudFormationSystemTags": false,
  "tagOnCreate": true,
  "tagProperty": "/properties/Tags",
  "tagUpdatable": true,
  "taggable": true
 },
 "typeName": "AWS::Config::ConfigurationAggregator"
}
