{
  "typeName" : "AWS::ApiGatewayV2::Authorizer",
  "description" : "Resource Type definition for AWS::ApiGatewayV2::Authorizer",
  "additionalProperties" : false,
  "properties" : {
    "IdentityValidationExpression" : {
      "type" : "string"
    },
    "AuthorizerUri" : {
      "type" : "string"
    },
    "AuthorizerCredentialsArn" : {
      "type" : "string"
    },
    "AuthorizerType" : {
      "type" : "string"
    },
    "JwtConfiguration" : {
      "$ref" : "#/definitions/JWTConfiguration"
    },
    "AuthorizerResultTtlInSeconds" : {
      "type" : "integer"
    },
    "IdentitySource" : {
      "type" : "array",
      "uniqueItems" : false,
      "items" : {
        "type" : "string"
      }
    },
    "AuthorizerPayloadFormatVersion" : {
      "type" : "string"
    },
    "ApiId" : {
      "type" : "string"
    },
    "EnableSimpleResponses" : {
      "type" : "boolean"
    },
    "AuthorizerId" : {
      "type" : "string"
    },
    "Name" : {
      "type" : "string"
    }
  },
  "definitions" : {
    "JWTConfiguration" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Issuer" : {
          "type" : "string"
        },
        "Audience" : {
          "type" : "array",
          "uniqueItems" : false,
          "items" : {
            "type" : "string"
          }
        }
      }
    }
  },
  "required" : [ "AuthorizerType", "ApiId", "Name" ],
  "createOnlyProperties" : [ "/properties/ApiId" ],
  "primaryIdentifier" : [ "/properties/AuthorizerId", "/properties/ApiId" ],
  "readOnlyProperties" : [ "/properties/AuthorizerId" ],
  "tagging" : {
    "taggable" : false,
    "tagOnCreate" : false,
    "tagUpdatable" : false,
    "cloudFormationSystemTags" : false
  },
  "handlers" : {
    "create" : {
      "permissions" : [ "apigateway:POST" ]
    },
    "update" : {
      "permissions" : [ "apigateway:PATCH", "apigateway:GET", "apigateway:PUT" ]
    },
    "read" : {
      "permissions" : [ "apigateway:GET" ]
    },
    "delete" : {
      "permissions" : [ "apigateway:GET", "apigateway:DELETE" ]
    },
    "list" : {
      "permissions" : [ "apigateway:GET" ]
    }
  }
}