{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-glue-crawler.json",
  "title": "AWSGlueCrawlerProperties",
  "description": "Resource Type definition for AWS::Glue::Crawler. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-glue-crawler.json",
    "sourceSha256": "ed88fee7a585a58ee9c771712d449c2890e837cc91dd56627a7ad3ddc64919f1"
  },
  "type": "object",
  "properties": {
    "Classifiers": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SchemaChangePolicy": {
      "$ref": "#/$defs/SchemaChangePolicy"
    },
    "Configuration": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "RecrawlPolicy": {
      "$ref": "#/$defs/RecrawlPolicy"
    },
    "DatabaseName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Targets": {
      "$ref": "#/$defs/Targets"
    },
    "CrawlerSecurityConfiguration": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Role": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Schedule": {
      "$ref": "#/$defs/Schedule"
    },
    "TablePrefix": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "object"
    }
  },
  "typeName": "AWS::Glue::Crawler",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "S3Target": {
      "type": "object",
      "title": "AWSGlueCrawlerS3TargetDefinition",
      "properties": {
        "ConnectionName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Path": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "SampleSize": {
          "type": "integer"
        },
        "Exclusions": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "DlqEventQueueArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "EventQueueArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "SchemaChangePolicy": {
      "type": "object",
      "title": "AWSGlueCrawlerSchemaChangePolicyDefinition",
      "properties": {
        "UpdateBehavior": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DeleteBehavior": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "Schedule": {
      "type": "object",
      "title": "AWSGlueCrawlerScheduleDefinition",
      "properties": {
        "ScheduleExpression": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "RecrawlPolicy": {
      "type": "object",
      "title": "AWSGlueCrawlerRecrawlPolicyDefinition",
      "properties": {
        "RecrawlBehavior": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "MongoDBTarget": {
      "type": "object",
      "title": "AWSGlueCrawlerMongoDBTargetDefinition",
      "properties": {
        "ConnectionName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Path": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "DeltaTarget": {
      "type": "object",
      "title": "AWSGlueCrawlerDeltaTargetDefinition",
      "properties": {
        "ConnectionName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CreateNativeDeltaTable": {
          "type": "boolean"
        },
        "WriteManifest": {
          "type": "boolean"
        },
        "DeltaTables": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "JdbcTarget": {
      "type": "object",
      "title": "AWSGlueCrawlerJdbcTargetDefinition",
      "properties": {
        "ConnectionName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Path": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Exclusions": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "Targets": {
      "type": "object",
      "title": "AWSGlueCrawlerTargetsDefinition",
      "properties": {
        "S3Targets": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/S3Target"
          }
        },
        "CatalogTargets": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/CatalogTarget"
          }
        },
        "DeltaTargets": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/DeltaTarget"
          }
        },
        "MongoDBTargets": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/MongoDBTarget"
          }
        },
        "JdbcTargets": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/JdbcTarget"
          }
        },
        "DynamoDBTargets": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/DynamoDBTarget"
          }
        }
      },
      "additionalProperties": false
    },
    "DynamoDBTarget": {
      "type": "object",
      "title": "AWSGlueCrawlerDynamoDBTargetDefinition",
      "properties": {
        "Path": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "CatalogTarget": {
      "type": "object",
      "title": "AWSGlueCrawlerCatalogTargetDefinition",
      "properties": {
        "ConnectionName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DatabaseName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "DlqEventQueueArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Tables": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        },
        "EventQueueArn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "Role",
    "Targets"
  ],
  "createOnlyProperties": [
    "/properties/Name"
  ]
}
