{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apigatewayv2-authorizer.json",
  "title": "AWSApiGatewayV2AuthorizerProperties",
  "description": "Resource Type definition for AWS::ApiGatewayV2::Authorizer. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigatewayv2>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-apigatewayv2-authorizer.json",
    "sourceSha256": "cca30a3afa25cee8a3de7648296c58eec3fb650279fb2b098ab4d2a4d3bae006"
  },
  "type": "object",
  "properties": {
    "IdentityValidationExpression": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AuthorizerUri": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AuthorizerCredentialsArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "AuthorizerType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "JwtConfiguration": {
      "$ref": "#/$defs/JWTConfiguration"
    },
    "AuthorizerResultTtlInSeconds": {
      "type": "integer"
    },
    "IdentitySource": {
      "type": "array",
      "uniqueItems": false,
      "items": {
        "type": "string"
      }
    },
    "AuthorizerPayloadFormatVersion": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "ApiId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "EnableSimpleResponses": {
      "type": "boolean"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    }
  },
  "typeName": "AWS::ApiGatewayV2::Authorizer",
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigatewayv2",
  "$defs": {
    "JWTConfiguration": {
      "type": "object",
      "title": "AWSApiGatewayV2AuthorizerJWTConfigurationDefinition",
      "properties": {
        "Issuer": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Audience": {
          "type": "array",
          "uniqueItems": false,
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/AuthorizerId"
  ],
  "additionalProperties": false,
  "required": [
    "AuthorizerType",
    "ApiId",
    "Name"
  ],
  "createOnlyProperties": [
    "/properties/ApiId"
  ],
  "primaryIdentifier": [
    "/properties/AuthorizerId",
    "/properties/ApiId"
  ]
}
