AWS::IoT::ResourceSpecificLoggingResource-specific logging allows you to specify a logging level for a specific thing group.
3 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
LogLevel | string | Required |
TargetName | string | RequiredCreate-only |
TargetType | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
TargetId | string | Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::ResourceSpecificLogging
Resources:
MyResource:
Type: AWS::IoT::ResourceSpecificLogging
Properties:
TargetName: "my-targetname"
TargetType: "THING_GROUP"
LogLevel: "ERROR"Permissions CloudFormation needs in your IAM role to manage this resource.
iot:ListV2LoggingLevelsiot:SetV2LoggingLeveliot:ListV2LoggingLevelsiot:ListV2LoggingLevelsiot:SetV2LoggingLeveliot:ListV2LoggingLevelsiot:DeleteV2LoggingLeveliot:ListV2LoggingLevelsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterTargetIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TargetNameTargetType