{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-devopsguru-resourcecollection.json",
  "title": "AWSDevOpsGuruResourceCollectionProperties",
  "description": "This resource schema represents the ResourceCollection resource in the Amazon DevOps Guru.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-devops-guru>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-devopsguru-resourcecollection.json",
    "sourceSha256": "da382d6cbb6604811fecc7aa79606bd8af8682a54d0956d45766d4693ecbd202"
  },
  "type": "object",
  "properties": {
    "ResourceCollectionFilter": {
      "$ref": "#/$defs/ResourceCollectionFilter"
    }
  },
  "typeName": "AWS::DevOpsGuru::ResourceCollection",
  "tagging": {
    "taggable": false
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-devops-guru",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/ResourceCollectionType"
  ],
  "$defs": {
    "ResourceCollectionFilter": {
      "description": "Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.",
      "type": "object",
      "properties": {
        "CloudFormation": {
          "$ref": "#/$defs/CloudFormationCollectionFilter"
        },
        "Tags": {
          "$ref": "#/$defs/TagCollections"
        }
      },
      "title": "AWSDevOpsGuruResourceCollectionResourceCollectionFilterDefinition",
      "additionalProperties": false
    },
    "CloudFormationCollectionFilter": {
      "description": "CloudFormation resource for DevOps Guru to monitor",
      "type": "object",
      "properties": {
        "StackNames": {
          "description": "An array of CloudFormation stack names.",
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128,
            "pattern": "^[a-zA-Z*]+[a-zA-Z0-9-]*$"
          },
          "minItems": 1,
          "maxItems": 1000,
          "insertionOrder": false
        }
      },
      "title": "AWSDevOpsGuruResourceCollectionCloudFormationCollectionFilterDefinition",
      "additionalProperties": false
    },
    "TagCollections": {
      "description": "Tagged resources for DevOps Guru to monitor",
      "type": "array",
      "items": {
        "$ref": "#/$defs/TagCollection"
      },
      "insertionOrder": false,
      "title": "AWSDevOpsGuruResourceCollectionTagCollectionsDefinition"
    },
    "TagCollection": {
      "description": "Tagged resource for DevOps Guru to monitor",
      "type": "object",
      "properties": {
        "AppBoundaryKey": {
          "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": "A Tag key for DevOps Guru app boundary."
        },
        "TagValues": {
          "description": "Tag values of DevOps Guru app boundary.",
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "minItems": 1,
          "maxItems": 1000,
          "insertionOrder": false
        }
      },
      "title": "AWSDevOpsGuruResourceCollectionTagCollectionDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "ResourceCollectionFilter"
  ],
  "readOnlyProperties": [
    "/properties/ResourceCollectionType"
  ]
}
