{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-apigateway-authorizer.json",
  "title": "AWSApiGatewayAuthorizerProperties",
  "description": "Represents an authorization layer for methods. If enabled on a method, API Gateway will activate the authorizer when a client calls the method.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-apigateway-authorizer.json",
    "sourceSha256": "a3e1140d592b7dd82379177cf923fea62521529e2f767d9914a45021c509b763"
  },
  "type": "object",
  "properties": {
    "RestApiId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The identifier of the API."
    },
    "AuthType": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Optional customer-defined field, used in OpenAPI imports and exports without functional impact."
    },
    "AuthorizerCredentials": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Specifies the required credentials as an IAM role for API Gateway to invoke the authorizer."
    },
    "AuthorizerResultTtlInSeconds": {
      "description": "The TTL in seconds of cached authorizer results.",
      "type": "integer"
    },
    "AuthorizerUri": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Specifies the authorizer's Uniform Resource Identifier (URI)."
    },
    "IdentitySource": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The identity source for which authorization is requested."
    },
    "IdentityValidationExpression": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "A validation expression for the incoming identity token."
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the authorizer."
    },
    "ProviderARNs": {
      "description": "A list of the Amazon Cognito user pool ARNs for the COGNITO_USER_POOLS authorizer.",
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string"
      },
      "insertionOrder": false
    },
    "Type": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The authorizer type."
    }
  },
  "typeName": "AWS::ApiGateway::Authorizer",
  "readOnlyProperties": [
    "/properties/AuthorizerId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-apigateway.git",
  "primaryIdentifier": [
    "/properties/RestApiId",
    "/properties/AuthorizerId"
  ],
  "tagging": {
    "taggable": false,
    "tagOnCreate": false,
    "tagUpdatable": false,
    "cloudFormationSystemTags": false
  },
  "additionalProperties": false,
  "required": [
    "RestApiId",
    "Type",
    "Name"
  ],
  "createOnlyProperties": [
    "/properties/RestApiId"
  ]
}
