{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-athena-preparedstatement.json",
  "title": "AWSAthenaPreparedStatementProperties",
  "description": "Resource schema for AWS::Athena::PreparedStatement. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-athena-preparedstatement.json",
    "sourceSha256": "9adf6d48f2a467c6d937ddcbc13e642d9efab0c1c044bff32ca836f6e46f1c28"
  },
  "type": "object",
  "properties": {
    "StatementName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the prepared statement."
    },
    "WorkGroup": {
      "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": "The name of the workgroup to which the prepared statement belongs."
    },
    "Description": {
      "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": "The description of the prepared statement."
    },
    "QueryStatement": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 262144
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The query string for the prepared statement."
    }
  },
  "typeName": "AWS::Athena::PreparedStatement",
  "taggable": false,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-athena.git",
  "additionalProperties": false,
  "required": [
    "StatementName",
    "WorkGroup",
    "QueryStatement"
  ],
  "primaryIdentifier": [
    "/properties/StatementName",
    "/properties/WorkGroup"
  ],
  "createOnlyProperties": [
    "/properties/StatementName",
    "/properties/WorkGroup"
  ]
}
