{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-glue-trigger.json",
  "title": "AWSGlueTriggerProperties",
  "description": "Resource Type definition for AWS::Glue::Trigger. 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-trigger.json",
    "sourceSha256": "481104a651cf71191a582376dac218ea530ff6410ac4b0085377c2ee9e6595f9"
  },
  "type": "object",
  "properties": {
    "Type": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "StartOnCreation": {
      "type": "boolean"
    },
    "Description": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Actions": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/Action"
      }
    },
    "EventBatchingCondition": {
      "$ref": "#/$defs/EventBatchingCondition"
    },
    "WorkflowName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Schedule": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Tags": {
      "type": "object"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Predicate": {
      "$ref": "#/$defs/Predicate"
    }
  },
  "typeName": "AWS::Glue::Trigger",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "Condition": {
      "type": "object",
      "title": "AWSGlueTriggerConditionDefinition",
      "properties": {
        "JobName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CrawlerName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "State": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "CrawlState": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "LogicalOperator": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "NotificationProperty": {
      "type": "object",
      "title": "AWSGlueTriggerNotificationPropertyDefinition",
      "properties": {
        "NotifyDelayAfter": {
          "type": "integer"
        }
      },
      "additionalProperties": false
    },
    "Action": {
      "type": "object",
      "title": "AWSGlueTriggerActionDefinition",
      "properties": {
        "NotificationProperty": {
          "$ref": "#/$defs/NotificationProperty"
        },
        "CrawlerName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Timeout": {
          "type": "integer"
        },
        "JobName": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Arguments": {
          "type": "object"
        },
        "SecurityConfiguration": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "EventBatchingCondition": {
      "type": "object",
      "title": "AWSGlueTriggerEventBatchingConditionDefinition",
      "properties": {
        "BatchSize": {
          "type": "integer"
        },
        "BatchWindow": {
          "type": "integer"
        }
      },
      "required": [
        "BatchSize"
      ],
      "additionalProperties": false
    },
    "Predicate": {
      "type": "object",
      "title": "AWSGlueTriggerPredicateDefinition",
      "properties": {
        "Logical": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Conditions": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "$ref": "#/$defs/Condition"
          }
        }
      },
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "Type",
    "Actions"
  ],
  "createOnlyProperties": [
    "/properties/Name",
    "/properties/WorkflowName",
    "/properties/Type"
  ]
}
