{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-config-aggregationauthorization.json",
  "title": "AWSConfigAggregationAuthorizationProperties",
  "description": "Resource Type definition for AWS::Config::AggregationAuthorization. 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-aggregationauthorization.json",
    "sourceSha256": "08a2a34289be75a32f5d3662e60792a37c50586a5a7a12af8e2c6e04944563ba"
  },
  "type": "object",
  "properties": {
    "AuthorizedAccountId": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^\\d{12}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The 12-digit account ID of the account authorized to aggregate data."
    },
    "AuthorizedAwsRegion": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The region authorized to collect aggregated data."
    },
    "Tags": {
      "description": "The tags for the AggregationAuthorization.",
      "type": "array",
      "maxItems": 50,
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Tag"
      }
    }
  },
  "typeName": "AWS::Config::AggregationAuthorization",
  "primaryIdentifier": [
    "/properties/AuthorizedAccountId",
    "/properties/AuthorizedAwsRegion"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-config.git",
  "$defs": {
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "title": "AWSConfigAggregationAuthorizationTagDefinition",
      "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": [
        "Key",
        "Value"
      ],
      "additionalProperties": false
    }
  },
  "createOnlyProperties": [
    "/properties/AuthorizedAccountId",
    "/properties/AuthorizedAwsRegion"
  ],
  "additionalProperties": false,
  "required": [
    "AuthorizedAccountId",
    "AuthorizedAwsRegion"
  ],
  "readOnlyProperties": [
    "/properties/AggregationAuthorizationArn"
  ]
}
