{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-iot-resourcespecificlogging.json",
  "title": "AWSIoTResourceSpecificLoggingProperties",
  "description": "Resource-specific logging allows you to specify a logging level for a specific thing group.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-iot.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-iot-resourcespecificlogging.json",
    "sourceSha256": "4c07293447b3438a05f059a0c8c77f39f205a65dc6727acb4e27f7f5ce05e92c"
  },
  "type": "object",
  "properties": {
    "TargetType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "THING_GROUP",
            "CLIENT_ID",
            "SOURCE_IP",
            "PRINCIPAL_ID",
            "EVENT_TYPE"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE."
    },
    "TargetName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 128,
          "pattern": "[a-zA-Z0-9.:\\s_\\-]+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The target name."
    },
    "LogLevel": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "ERROR",
            "WARN",
            "INFO",
            "DEBUG",
            "DISABLED"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED."
    }
  },
  "typeName": "AWS::IoT::ResourceSpecificLogging",
  "primaryIdentifier": [
    "/properties/TargetId"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-iot.git",
  "documentationUrl": "https://docs.aws.amazon.com/iot/latest/developerguide/configure-logging.html",
  "additionalProperties": false,
  "taggable": false,
  "createOnlyProperties": [
    "/properties/TargetName",
    "/properties/TargetType"
  ],
  "readOnlyProperties": [
    "/properties/TargetId"
  ],
  "$defs": {},
  "required": [
    "TargetName",
    "TargetType",
    "LogLevel"
  ]
}
