{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-config-configurationaggregator.json",
  "title": "AWSConfigConfigurationAggregatorProperties",
  "description": "Resource Type definition for AWS::Config::ConfigurationAggregator. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-config.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-config-configurationaggregator.json",
    "sourceSha256": "de293b2b10fb9237566a7476892f596c5fbcaf04fcdc7dc8e6ee69f914ac9a99"
  },
  "type": "object",
  "properties": {
    "AccountAggregationSources": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/AccountAggregationSource"
      }
    },
    "ConfigurationAggregatorName": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "[\\w\\-]+",
          "minLength": 1,
          "maxLength": 256
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the aggregator."
    },
    "OrganizationAggregationSource": {
      "$ref": "#/$defs/OrganizationAggregationSource"
    },
    "Tags": {
      "description": "The tags for the configuration aggregator.",
      "type": "array",
      "maxItems": 50,
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::Config::ConfigurationAggregator",
  "primaryIdentifier": [
    "/properties/ConfigurationAggregatorName"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-config.git",
  "$defs": {
    "AccountAggregationSource": {
      "type": "object",
      "title": "AWSConfigConfigurationAggregatorAccountAggregationSourceDefinition",
      "properties": {
        "AllAwsRegions": {
          "type": "boolean"
        },
        "AwsRegions": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "AccountIds": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "AccountIds"
      ],
      "additionalProperties": false
    },
    "OrganizationAggregationSource": {
      "type": "object",
      "title": "AWSConfigConfigurationAggregatorOrganizationAggregationSourceDefinition",
      "properties": {
        "AllAwsRegions": {
          "type": "boolean"
        },
        "AwsRegions": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "RoleArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "RoleArn"
      ],
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "title": "AWSConfigConfigurationAggregatorTagDefinition",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
        },
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 0,
              "maxLength": 256
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -. "
        }
      },
      "required": [
        "Value",
        "Key"
      ],
      "additionalProperties": false
    }
  },
  "createOnlyProperties": [
    "/properties/ConfigurationAggregatorName"
  ],
  "additionalProperties": false,
  "readOnlyProperties": [
    "/properties/ConfigurationAggregatorArn"
  ]
}
