Provides a resource to manage default logging options.
resource "aws_iot_logging_options" "example" {
default_log_level = "WARN"
role_arn = aws_iam_role.example.arn
}
default_log_level
- (Optional) The default logging level. Valid Values: "DEBUG"
, "INFO"
, "ERROR"
, "WARN"
, "DISABLED"
.disable_all_logs
- (Optional) If true
all logs are disabled. The default is false
.role_arn
- (Required) The ARN of the role that allows IoT to write to Cloudwatch logs.This resource exports no additional attributes.