{
  "typeName" : "AWS::IoT::Authorizer",
  "description" : "Creates an authorizer.",
  "sourceUrl" : "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "definitions" : {
    "Tag" : {
      "type" : "object",
      "properties" : {
        "Key" : {
          "type" : "string"
        },
        "Value" : {
          "type" : "string"
        }
      },
      "additionalProperties" : false,
      "required" : [ "Key", "Value" ]
    }
  },
  "properties" : {
    "AuthorizerFunctionArn" : {
      "type" : "string"
    },
    "Arn" : {
      "type" : "string"
    },
    "AuthorizerName" : {
      "type" : "string",
      "pattern" : "[\\w=,@-]+",
      "minLength" : 1,
      "maxLength" : 128
    },
    "SigningDisabled" : {
      "type" : "boolean"
    },
    "Status" : {
      "type" : "string",
      "enum" : [ "ACTIVE", "INACTIVE" ]
    },
    "TokenKeyName" : {
      "type" : "string"
    },
    "TokenSigningPublicKeys" : {
      "type" : "object",
      "additionalProperties" : false,
      "patternProperties" : {
        "[a-zA-Z0-9:_-]+" : {
          "type" : "string",
          "maxLength" : 5120
        }
      }
    },
    "EnableCachingForHttp" : {
      "type" : "boolean"
    },
    "Tags" : {
      "type" : "array",
      "items" : {
        "$ref" : "#/definitions/Tag"
      }
    }
  },
  "taggable" : true,
  "additionalProperties" : false,
  "required" : [ "AuthorizerFunctionArn" ],
  "createOnlyProperties" : [ "/properties/SigningDisabled", "/properties/AuthorizerName" ],
  "readOnlyProperties" : [ "/properties/Arn" ],
  "primaryIdentifier" : [ "/properties/AuthorizerName" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "iot:CreateAuthorizer" ]
    },
    "read" : {
      "permissions" : [ "iot:DescribeAuthorizer" ]
    },
    "update" : {
      "permissions" : [ "iot:UpdateAuthorizer" ]
    },
    "delete" : {
      "permissions" : [ "iot:DeleteAuthorizer" ]
    },
    "list" : {
      "permissions" : [ "iot:ListAuthorizers" ]
    }
  }
}