AWS::IoT::Logging
Configure logging.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::IoT::Logging", "Properties" : { "AccountId" :String, "DefaultLogLevel" :String, "RoleArn" :String} }
YAML
Type: AWS::IoT::Logging Properties: AccountId:StringDefaultLogLevel:StringRoleArn:String
Properties
AccountId-
The account ID.
Required: Yes
Type: String
Update requires: Replacement
DefaultLogLevel-
The default log level. Valid Values:
DEBUG | INFO | ERROR | WARN | DISABLEDRequired: Yes
Type: String
Update requires: No interruption
RoleArn-
The role ARN used for the log.
Required: Yes
Type: String
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the log ID. For example:
{"Ref": "Log-12345"}