{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-batch-jobqueue.json",
  "title": "AWSBatchJobQueueProperties",
  "description": "Resource Type definition for AWS::Batch::JobQueue. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-batch-jobqueue.json",
    "sourceSha256": "ae823df9c9702164afc1cf97184db17e55b63b0bb0656990103f8754921d751d"
  },
  "type": "object",
  "properties": {
    "JobQueueName": {
      "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"
        }
      ]
    },
    "ComputeEnvironmentOrder": {
      "type": "array",
      "insertionOrder": true,
      "uniqueItems": false,
      "items": {
        "$ref": "#/$defs/ComputeEnvironmentOrder"
      }
    },
    "Priority": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000
    },
    "State": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "DISABLED",
            "ENABLED"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "SchedulingPolicyArn": {
      "$ref": "#/$defs/ResourceArn"
    },
    "Tags": {
      "type": "object",
      "description": "A key-value pair to associate with a resource.",
      "additionalProperties": false,
      "patternProperties": {
        ".*": {
          "type": "string"
        }
      }
    }
  },
  "typeName": "AWS::Batch::JobQueue",
  "readOnlyProperties": [
    "/properties/JobQueueArn"
  ],
  "$defs": {
    "ResourceArn": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSBatchJobQueueResourceArnDefinition"
    },
    "ComputeEnvironmentOrder": {
      "type": "object",
      "title": "AWSBatchJobQueueComputeEnvironmentOrderDefinition",
      "properties": {
        "ComputeEnvironment": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Order": {
          "type": "integer"
        }
      },
      "required": [
        "ComputeEnvironment",
        "Order"
      ],
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/Tags",
    "/properties/JobQueueName"
  ],
  "tagging": {
    "taggable": true,
    "tagOnCreate": true,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false,
    "tagProperty": "/properties/Tags"
  },
  "required": [
    "ComputeEnvironmentOrder",
    "Priority"
  ],
  "primaryIdentifier": [
    "/properties/JobQueueArn"
  ]
}
