Skip to content

Resource: awsIotLoggingOptions

Provides a resource to manage default logging options.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.iotLoggingOptions.IotLoggingOptions(this, "example", {
  defaultLogLevel: "WARN",
  roleArn: "${aws_iam_role.example.arn}",
});

Argument Reference

  • defaultLogLevel - (Optional) The default logging level. Valid Values: "debug", "info", "error", "warn", "disabled".
  • disableAllLogs - (Optional) If true all logs are disabled. The default is false.
  • roleArn - (Required) The ARN of the role that allows IoT to write to Cloudwatch logs.

Attributes Reference

No additional attributes are exported.