{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-accessanalyzer-analyzer.json",
  "title": "AWSAccessAnalyzerAnalyzerProperties",
  "description": "The AWS::AccessAnalyzer::Analyzer type specifies an analyzer of the user's account. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-accessanalyzer-analyzer.json",
    "sourceSha256": "01e06d18af0386c709705f21a1e131bac3ec7447c2f49437078de3ad70f69339"
  },
  "type": "object",
  "properties": {
    "AnalyzerName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Analyzer name"
    },
    "ArchiveRules": {
      "type": "array",
      "insertionOrder": false,
      "items": {
        "$ref": "#/$defs/ArchiveRule"
      }
    },
    "Tags": {
      "type": "array",
      "maxItems": 50,
      "insertionOrder": false,
      "uniqueItems": true,
      "description": "An array of key-value pairs to apply to this resource.",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Type": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 0,
          "maxLength": 1024
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The type of the analyzer, must be ACCOUNT or ORGANIZATION"
    }
  },
  "typeName": "AWS::AccessAnalyzer::Analyzer",
  "$defs": {
    "ArchiveRule": {
      "description": "An Access Analyzer archive rule. Archive rules automatically archive new findings that meet the criteria you define when you create the rule.",
      "type": "object",
      "properties": {
        "Filter": {
          "type": "array",
          "insertionOrder": false,
          "minItems": 1,
          "items": {
            "$ref": "#/$defs/Filter"
          }
        },
        "RuleName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The archive rule name"
        }
      },
      "required": [
        "Filter",
        "RuleName"
      ],
      "title": "AWSAccessAnalyzerAnalyzerArchiveRuleDefinition",
      "additionalProperties": false
    },
    "Filter": {
      "type": "object",
      "properties": {
        "Contains": {
          "type": "array",
          "insertionOrder": false,
          "items": {
            "type": "string"
          }
        },
        "Eq": {
          "type": "array",
          "insertionOrder": false,
          "items": {
            "type": "string"
          }
        },
        "Exists": {
          "type": "boolean"
        },
        "Property": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Neq": {
          "type": "array",
          "insertionOrder": false,
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "Property"
      ],
      "title": "AWSAccessAnalyzerAnalyzerFilterDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "description": "A key-value pair to associate with a resource.",
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 127
            },
            {
              "$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": 1,
              "maxLength": 255
            },
            {
              "$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"
      ],
      "title": "AWSAccessAnalyzerAnalyzerTagDefinition",
      "additionalProperties": false
    }
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-accessanalyzer.git",
  "resourceLink": {
    "templateUri": "/access-analyzer/home?region=${awsRegion}#/analyzer/${AnalyzerName}",
    "mappings": {
      "AnalyzerName": "/AnalyzerName"
    }
  },
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Arn"
  ],
  "required": [
    "Type"
  ],
  "readOnlyProperties": [
    "/properties/Arn"
  ],
  "createOnlyProperties": [
    "/properties/AnalyzerName",
    "/properties/Type"
  ]
}
