---
type: resource-type
title: ResourceSpecificLogging
description: aws resource type AWS::IoT::ResourceSpecificLogging
name: ResourceSpecificLogging
lexicon: aws
resource_type: AWS::IoT::ResourceSpecificLogging
---
`AWS::IoT::ResourceSpecificLogging`, a resource type of the aws lexicon.

## Properties

- `LogLevel` (`"DEBUG" | "DISABLED" | "ERROR" | "INFO" | "WARN"`, required): The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
- `TargetName` (`string`, required): The target name.
- `TargetType` (`"CLIENT_ID" | "EVENT_TYPE" | "PRINCIPAL_ID" | "SOURCE_IP" | "THING_GROUP"`, required): The target type. Value must be THING_GROUP, CLIENT_ID, SOURCE_IP, PRINCIPAL_ID, or EVENT_TYPE.
- `TargetId` (`string`, optional): Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.

## Attributes

- `TargetId`
