AWS::IoT::ResourceSpecificLogging
Configure resource-specific logging.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::IoT::ResourceSpecificLogging", "Properties" : { "LogLevel" :String, "TargetName" :String, "TargetType" :String} }
YAML
Type: AWS::IoT::ResourceSpecificLogging Properties: LogLevel:StringTargetName:StringTargetType:String
Properties
LogLevel-
The default log level.Valid Values:
DEBUG | INFO | ERROR | WARN | DISABLEDRequired: Yes
Type: String
Update requires: No interruption
TargetName-
The target name.
Required: Yes
Type: String
Update requires: Replacement
TargetType-
The target type. Valid Values:
DEFAULT | THING_GROUPRequired: Yes
Type: String
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the resource-specific log ID. For example:
{"Ref": "MyResourceLog-12345" }