AWS::IoT::ResourceSpecificLogging - AWS CloudFormation (original) (raw)
Configure resource-specific logging.
Syntax
To declare this entity in your AWS 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: String
TargetName: String
TargetType: String
Properties
LogLevel
The default log level.Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED
Required: Yes
Type: String
Allowed values: ERROR | WARN | INFO | DEBUG | DISABLED
Update requires: No interruption
TargetName
The target name.
Required: Yes
Type: String
Pattern: [a-zA-Z0-9.:\s_\-]+
Minimum: 1
Maximum: 128
Update requires: Replacement
TargetType
The target type. Valid Values: DEFAULT | THING_GROUP
Required: Yes
Type: String
Allowed values: THING_GROUP | CLIENT_ID | SOURCE_IP | PRINCIPAL_ID | EVENT_TYPE
Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the resource-specific log ID. For example:
{"Ref": "MyResourceLog-12345" }
Fn::GetAtt
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.